summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackademix2018-07-28 12:49:09 +0200
committerhackademix2018-07-28 12:49:09 +0200
commitce9644bed39e02e204edd930c12fd09048ee0a27 (patch)
treef2647dcf519c2eda55efcdee82a349b1d4a14de8
parentca0273f9cdea7cf680ecb42c02d89a4812b3d1b4 (diff)
downloadnoscript-ce9644bed39e02e204edd930c12fd09048ee0a27.tar.gz
noscript-ce9644bed39e02e204edd930c12fd09048ee0a27.tar.xz
noscript-ce9644bed39e02e204edd930c12fd09048ee0a27.zip
Auto-tag stable releases on version bump.
-rw-r--r--build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index de5ea0c..a43a66a 100644
--- a/build.sh
+++ b/build.sh
@@ -15,6 +15,7 @@ if [ "$1" == "bump" ]; then
echo "Bumping to $VER"
git add "$MANIFEST_IN"
git commit -m "Version bump: $VER."
+ [[ $VER == *rc* ]] || "$0" tag
exit 0
fi
XPI_DIR="$BASE/xpi"