add scripts bump and update (#8365)

This commit is contained in:
Maurizio Cacace
2023-03-14 17:22:20 +01:00
committed by GitHub
parent 00b61e409c
commit 01b6a52446
2 changed files with 254 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../../../
BRANCH=${GITHUB_REF##*/}
if [[ $BRANCH =~ ^develop(-patch.*)?$ ]]
then
echo "Replace NPM version with new Alpha tag"
NEXT_VERSION=-nextalpha
./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1;
fi