mirror of https://github.com/Chocobozzz/PeerTube
Fix release script
parent
a21b1e00dd
commit
107c5fcda4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue