Don't sign 'test' channel builds
This commit is contained in:
parent
4067514a7e
commit
24ca4e44fa
1 changed files with 8 additions and 1 deletions
|
@ -60,8 +60,15 @@ if [ -z "$VERSION" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Enforce signing unless a test build
|
||||||
|
if [ "$CHANNEL" != "test" ]; then
|
||||||
|
SIGN="-e"
|
||||||
|
else
|
||||||
|
SIGN=""
|
||||||
|
fi
|
||||||
|
|
||||||
# Build Zotero
|
# 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"`
|
BUILD_ID=`cat "$DIST_DIR/build_id"`
|
||||||
if [ -z "$BUILD_ID" ]; then
|
if [ -z "$BUILD_ID" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue