quick fix branch

This commit is contained in:
maurizio-cacace 2023-02-28 15:58:04 +01:00
parent fc224713f2
commit aa6b5089bb
No known key found for this signature in database
GPG Key ID: BC860F452395F645

View File

@ -5,7 +5,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../../../
VERSION_IN_PACKAGE_JSON=`node -p "require('./package.json')".version;`;
BRANCH=${GITHUB_REF##*/}
#BRANCH=${GITHUB_REF##*/}
BRANCH=${GITHUB_BASE_REF}
if [[ $BRANCH =~ ^master(-patch.*)?$ ]]
then
# Pre-release versions