commit a new bindata file if there are changes

pull/8776/head
Alvin Huang 4 years ago
parent 87f6617eec
commit 8e6f8714ba

@ -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

Loading…
Cancel
Save