We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34bcdf5 commit 02f2b84Copy full SHA for 02f2b84
release-helper.sh
@@ -98,7 +98,8 @@ fi
98
#curl -H "Authorization: token $token" -s https://api.github.com/rate_limit
99
100
# Make sure we are on clean branch
101
-if ! git branch --list cachet-$cachet_version; then
+if [[ !$(git branch --list cachet-$cachet_version) ]]; then
102
+ echo "Creating new branch cachet-$cachet_version"
103
git checkout -b cachet-$cachet_version
104
else
105
echo "Branch cachet-$cachet_version already exists!"
0 commit comments