Fix release script

This commit is contained in:
Chocobozzz 2018-10-11 08:47:59 +02:00
parent a21b1e00dd
commit 107c5fcda4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -27,7 +27,7 @@ fi
maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"}
branch=$(git symbolic-ref --short -q HEAD)
if [ "$branch" != "develop" ] && [[ "$branch" != feature/* ]]; then
if [ "$branch" != "develop" ] && [[ "$branch" != release/* ]]; then
echo "Need to be on develop or release branch."
exit -1
fi