Skip to content

Commit

Permalink
Support releasing from the v1 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed Jan 20, 2020
1 parent bed7c45 commit b6b5866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pre-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ if [ $# -eq 0 ]; then
fi

GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [ "$GIT_BRANCH" != "master" ]; then
echo "You must be on the master branch"
if [ "$GIT_BRANCH" != "v1" ]; then
echo "You must be on the v1 branch"
exit 1
fi

Expand Down

0 comments on commit b6b5866

Please sign in to comment.