Overwrite Chromium zip on reiterated builds.

This commit is contained in:
hackademix 2019-10-06 21:31:57 +02:00
parent 0995fb8dc1
commit 7846ead449
1 changed files with 2 additions and 2 deletions

View File

@ -114,9 +114,9 @@ else
WEBEXT_OUT="$XPI_DIR"
fi
COMMON_BUILD_OPTS=--ignore-files=test/XSS_test.js
COMMON_BUILD_OPTS="--ignore-files=test/XSS_test.js --overwrite-dest"
"$BUILD_CMD" $BUILD_OPTS --overwrite-dest --source-dir="$WEBEXT_IN" --artifacts-dir="$WEBEXT_OUT" $COMMON_BUILD_OPTS
"$BUILD_CMD" $BUILD_OPTS --source-dir="$WEBEXT_IN" --artifacts-dir="$WEBEXT_OUT" $COMMON_BUILD_OPTS
SIGNED="$XPI_DIR/noscript_security_suite-$VER-an+fx.xpi"
if [ -f "$SIGNED" ]; then
mv "$SIGNED" "$XPI.xpi"