We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0202328 + 5ee692c commit c0465d9Copy full SHA for c0465d9
hack/sync-bindata.sh
@@ -5,6 +5,7 @@
5
# -TODO: role data
6
set -ex
7
8
+BINDATA_GIT_ADD=${BINDATA_GIT_ADD:-""}
9
OUT_DATA=bindata
10
EXTRACT_DIR=tmp/bindata
11
LOCAL_BINARIES=${LOCAL_BINARIES:?}
@@ -299,4 +300,6 @@ rm -Rf "$OUT_DATA/metadata"
299
300
rm -Rf "$OUT_DATA/tests"
301
302
# stage new files for addition via git
-git ls-files -o --exclude-standard | xargs --no-run-if-empty git add
303
+if [[ "$BINDATA_GIT_ADD" == "true" ]]; then
304
+ git ls-files -o --exclude-standard | xargs --no-run-if-empty git add
305
+fi
0 commit comments