fix: wizard release

Former-commit-id: ca21ec5987a64aea7d155d5ce532b452d502d1e8 [formerly 0f4ae7305653e52c36bd2e05b6328e4b6a21cfa7] [formerly 8461ae3cc270e84de3ab0a402d50484b1a417261 [formerly f218c2a791]]
Former-commit-id: 1e7aca3d5837c39a5073bd3d65847fe566929ad0 [formerly d210374bc803529ce4edf7a6d83bd3c4ae3f1bc5]
Former-commit-id: 0eaf26b83f446f6022da9af1be334f9eb452b5a1
This commit is contained in:
1138-4EB 2019-01-08 21:20:00 +01:00
parent da7d1db06c
commit 41272e67a3

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