fix: wizard release

This commit is contained in:
1138-4EB 2019-01-08 21:20:00 +01:00
parent 2c526077c0
commit f218c2a791

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