[build] Support for quiet tagging without editing the message.
This commit is contained in:
parent
8aabc81818
commit
019cf8b432
9
build.sh
9
build.sh
|
@ -24,9 +24,12 @@ VER=$(grep '"version":' "$MANIFEST_IN" | sed -re 's/.*": "(.*?)".*/\1/')
|
||||||
if [ "$1" == "tag" ]; then
|
if [ "$1" == "tag" ]; then
|
||||||
# ensure nscl is up-to-date git-wise
|
# ensure nscl is up-to-date git-wise
|
||||||
./nscl_gitsync.sh
|
./nscl_gitsync.sh
|
||||||
|
OPTS=""
|
||||||
|
if [ "$2" != "quiet" ]; then
|
||||||
|
OPTS="-e"
|
||||||
|
fi
|
||||||
echo "Tagging at $VER"
|
echo "Tagging at $VER"
|
||||||
git tag -a "$VER" -e -m"$(gitcl 2>/dev/null)"
|
git tag -a "$VER" $OPTS -m"$(gitcl 2>/dev/null)"
|
||||||
git push && git push origin "$VER"
|
git push && git push origin "$VER"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -202,7 +205,7 @@ fi
|
||||||
mv "$BUILD" "$CHROMIUM_UNPACKED"
|
mv "$BUILD" "$CHROMIUM_UNPACKED"
|
||||||
|
|
||||||
if [ "$SIGNED" ]; then
|
if [ "$SIGNED" ]; then
|
||||||
"$0" tag
|
"$0" tag quiet
|
||||||
nscl
|
nscl
|
||||||
../../we-publish "$XPI.xpi"
|
../../we-publish "$XPI.xpi"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue