[CI] Use better way to detect changes

This commit is contained in:
Eugene Yaremenko 2021-08-26 01:22:52 +03:00 committed by GitHub
parent abb088474a
commit 8b3b647f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ fi
git add --all
if [[ $(git diff --stat) != '' ]]; then
if [[ -z $(git status -s) ]]; then
echo_headline "Creating commit"
git commit -m "[bot] \"${PUBLISH}\" $(date -u)"
if [ $? -ne 0 ]; then