From 24ca4e44fabcdfbeb0f0bbccd66dc6ab9ff8c13f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 28 May 2024 06:40:08 +0100 Subject: [PATCH] Don't sign 'test' channel builds --- app/scripts/build_and_deploy | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/scripts/build_and_deploy b/app/scripts/build_and_deploy index 27d9487fb1..7956ac7e6b 100755 --- a/app/scripts/build_and_deploy +++ b/app/scripts/build_and_deploy @@ -60,8 +60,15 @@ if [ -z "$VERSION" ]; then exit 1 fi +# Enforce signing unless a test build +if [ "$CHANNEL" != "test" ]; then + SIGN="-e" +else + SIGN="" +fi + # Build Zotero -"$ROOT_DIR/build.sh" -d "$SOURCE_DIR" -p $PLATFORMS -c $CHANNEL -e +"$ROOT_DIR/build.sh" -d "$SOURCE_DIR" -p $PLATFORMS -c $CHANNEL $SIGN BUILD_ID=`cat "$DIST_DIR/build_id"` if [ -z "$BUILD_ID" ]; then