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"}
|
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
|
||||||
|
|
Loading…
Reference in New Issue