commit a new bindata file if there are changes

This commit is contained in:
Alvin Huang 2020-09-29 18:10:05 -04:00
parent a7353d925e
commit 21b1163cd6
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ jobs:
- run:
name: commit agent/bindata_assetfs.go if there are changes
command: |
if git diff --exit-code agent/bindata_assetfs.go; then
if ! git diff --exit-code agent/bindata_assetfs.go; then
git add agent/bindata_assetfs.go
git commit -m "auto-updated agent/bindata_assetfs.go"
git push origin master