Skip to content

Commit 019cf8b

Browse files
committed
[build] Support for quiet tagging without editing the message.
1 parent 8aabc81 commit 019cf8b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ VER=$(grep '"version":' "$MANIFEST_IN" | sed -re 's/.*": "(.*?)".*/\1/')
2424
if [ "$1" == "tag" ]; then
2525
# ensure nscl is up-to-date git-wise
2626
./nscl_gitsync.sh
27-
27+
OPTS=""
28+
if [ "$2" != "quiet" ]; then
29+
OPTS="-e"
30+
fi
2831
echo "Tagging at $VER"
29-
git tag -a "$VER" -e -m"$(gitcl 2>/dev/null)"
32+
git tag -a "$VER" $OPTS -m"$(gitcl 2>/dev/null)"
3033
git push && git push origin "$VER"
3134
exit 0
3235
fi
@@ -202,7 +205,7 @@ fi
202205
mv "$BUILD" "$CHROMIUM_UNPACKED"
203206

204207
if [ "$SIGNED" ]; then
205-
"$0" tag
208+
"$0" tag quiet
206209
nscl
207210
../../we-publish "$XPI.xpi"
208211
fi

0 commit comments

Comments
 (0)