1
0
Fork 0

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"} 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