fix: wizard release
parent
2c526077c0
commit
f218c2a791
|
@ -238,8 +238,11 @@ release () {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set +e
|
||||||
git rev-parse --verify --quiet release
|
git rev-parse --verify --quiet release
|
||||||
if [ $? -ne 0 ]; then
|
exitcode=$?
|
||||||
|
set -e
|
||||||
|
if [ $exitcode -ne 0 ]; then
|
||||||
git checkout -b release "$semver"
|
git checkout -b release "$semver"
|
||||||
else
|
else
|
||||||
git checkout release
|
git checkout release
|
||||||
|
|
Loading…
Reference in New Issue