Synchronize nscl git commits as needed before tagging new versions.

This commit is contained in:
hackademix 2024-07-25 11:07:21 +02:00
parent cabe21cac4
commit bea71d3042
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,9 @@ strip_rc_ver() {
VER=$(grep '"version":' "$MANIFEST_IN" | sed -re 's/.*": "(.*?)".*/\1/') 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
./nscl_gitsync.sh
echo "Tagging at $VER" echo "Tagging at $VER"
git tag -a "$VER" -e -m"$(gitcl 2>/dev/null)" git tag -a "$VER" -e -m"$(gitcl 2>/dev/null)"
git push && git push origin "$VER" git push && git push origin "$VER"
@ -193,8 +196,6 @@ fi
mv "$BUILD" "$CHROMIUM_UNPACKED" mv "$BUILD" "$CHROMIUM_UNPACKED"
if [ "$SIGNED" ]; then if [ "$SIGNED" ]; then
# ensure nscl is up-to-date git-wise
./nscl_gitsync.sh
"$0" tag "$0" tag
nscl nscl
../../we-publish "$XPI.xpi" ../../we-publish "$XPI.xpi"