Lock nscl version on stable releases.

This commit is contained in:
hackademix 2024-08-07 21:52:34 +02:00
parent 9fc0dd3d42
commit 2b496923da
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 5 additions and 1 deletions

View File

@ -64,7 +64,11 @@ if [[ "$1" == "bump" ]]; then
echo "Bumping to $VER"
git add "$MANIFEST_IN"
git commit -m "Version bump: $VER."
[[ $VER == *rc* ]] || "$0" tag
if ! [[ $VER == *rc* ]]; then
# it's a stable release: let's lock nscl and tag
git submodule update
"$0" tag
fi
exit
fi
XPI_DIR="$BASE/xpi"