You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
Don't create release branch if we're already there
This commit is contained in:
@@ -30,8 +30,11 @@ rel_branch="release-$tag"
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
echo "Creating release branch"
|
||||
git checkout -b "$rel_branch"
|
||||
# we might already be on the release branch, in which case, yay
|
||||
if [ $(git symbolic-ref --short HEAD) != "$rel_branch" ]; then
|
||||
echo "Creating release branch"
|
||||
git checkout -b "$rel_branch"
|
||||
fi
|
||||
|
||||
echo "Generating changelog"
|
||||
update_changelog "$release"
|
||||
|
||||
Reference in New Issue
Block a user