Fix release script

pull/1386/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ fi
maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"} maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"}
branch=$(git symbolic-ref --short -q HEAD) 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." echo "Need to be on develop or release branch."
exit -1 exit -1
fi fi