Merge pull request #8776 from hashicorp/ci/fix-auto-bindata

commit a new bindata file if there are changes
This commit is contained in:
Daniel Nephin 2020-09-29 19:34:52 -04:00 committed by GitHub
commit 5261bb0d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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