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.
1 parent e716637 commit 4fb2625Copy full SHA for 4fb2625
build.sh
@@ -138,6 +138,13 @@ fix_manifest() {
138
}
139
140
build() {
141
+ if [[ $1 == "zip" ]]; then
142
+ shift
143
+ elif ! [[ $BUILD_CMD == *we-sign ]]; then
144
+ build zip "$1" | \
145
+ grep 'ready: .*\.zip' | sed -re 's/.* ready: //'
146
+ return
147
+ fi
148
UNPACKED_DIR="$UNPACKED_BASE/${1:-out}"
149
rm -rf "$UNPACKED_DIR"
150
cp -rp "$BUILD" "$UNPACKED_DIR" && echo >&2 "Copied $BUILD to $UNPACKED_DIR"
@@ -160,8 +167,7 @@ build() {
160
167
"$BUILD_CMD" $BUILD_OPTS \
161
168
--source-dir="$WEBEXT_IN" \
162
169
--artifacts-dir="$WEBEXT_OUT" \
163
- $COMMON_BUILD_OPTS | \
164
- grep 'ready: .*\.zip' | sed -re 's/.* ready: //'
170
+ $COMMON_BUILD_OPTS
165
171
166
172
173
fix_manifest mv2firefox
0 commit comments