Skip to content

Commit

Permalink
Update release-helper.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wfjsw authored Jul 5, 2018
1 parent 34bcdf5 commit 02f2b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ fi
#curl -H "Authorization: token $token" -s https://api.github.com/rate_limit

# Make sure we are on clean branch
if ! git branch --list cachet-$cachet_version; then
if [[ !$(git branch --list cachet-$cachet_version) ]]; then
echo "Creating new branch cachet-$cachet_version"
git checkout -b cachet-$cachet_version
else
echo "Branch cachet-$cachet_version already exists!"
Expand Down

0 comments on commit 02f2b84

Please sign in to comment.