From 8e6f8714bacc44f9cb6761c880420344990c9462 Mon Sep 17 00:00:00 2001 From: Alvin Huang <17609145+alvin-huang@users.noreply.github.com> Date: Tue, 29 Sep 2020 18:10:05 -0400 Subject: [PATCH] commit a new bindata file if there are changes --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 299657b55b..3ae3e2ea78 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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