Skip to content

Commit

Permalink
quick fix branch
Browse files Browse the repository at this point in the history
  • Loading branch information
maurizio-cacace committed Feb 28, 2023
1 parent fc22471 commit aa6b508
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/github/release/release-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa6b508

Please sign in to comment.