Skip to content

Commit

Permalink
make-release.sh: Fail if version branch already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed May 4, 2021
1 parent 703a121 commit ffd1e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if [[ "$TAG" -ne "0" ]]; then
fi

BRANCH="stable/$VERSION"
git checkout -b "$BRANCH"
git checkout -b "$BRANCH" || fail "Version branch $BRANCH already exists"
git rm -rf vendor
rm -rf vendor
rm -f composer.lock
Expand Down

0 comments on commit ffd1e1d

Please sign in to comment.