Skip to content

Commit 02f2b84

Browse files
authored
Update release-helper.sh
1 parent 34bcdf5 commit 02f2b84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

release-helper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ fi
9898
#curl -H "Authorization: token $token" -s https://api.github.com/rate_limit
9999

100100
# Make sure we are on clean branch
101-
if ! git branch --list cachet-$cachet_version; then
101+
if [[ !$(git branch --list cachet-$cachet_version) ]]; then
102+
echo "Creating new branch cachet-$cachet_version"
102103
git checkout -b cachet-$cachet_version
103104
else
104105
echo "Branch cachet-$cachet_version already exists!"

0 commit comments

Comments
 (0)