fix: wizard release

pull/631/head^2
1138-4EB 2019-01-08 21:20:00 +01:00
parent 2c526077c0
commit f218c2a791
1 changed files with 4 additions and 1 deletions

View File

@ -238,8 +238,11 @@ release () {
exit 1
fi
set +e
git rev-parse --verify --quiet release
if [ $? -ne 0 ]; then
exitcode=$?
set -e
if [ $exitcode -ne 0 ]; then
git checkout -b release "$semver"
else
git checkout release