diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-11 08:47:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-11 08:47:59 +0200 |
commit | 107c5fcda423faef9b9ec0804d6b8dd23fe848ce (patch) | |
tree | 4044f5dba64f3cfebd4fae70955de43cae200810 | |
parent | a21b1e00ddc46cfc2eae7fcec22b21d9b0781774 (diff) | |
download | PeerTube-107c5fcda423faef9b9ec0804d6b8dd23fe848ce.tar.gz PeerTube-107c5fcda423faef9b9ec0804d6b8dd23fe848ce.tar.zst PeerTube-107c5fcda423faef9b9ec0804d6b8dd23fe848ce.zip |
Fix release script
-rwxr-xr-x | scripts/release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index 7b577ef35..3a8643b5a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -27,7 +27,7 @@ fi | |||
27 | maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"} | 27 | maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"} |
28 | 28 | ||
29 | branch=$(git symbolic-ref --short -q HEAD) | 29 | branch=$(git symbolic-ref --short -q HEAD) |
30 | if [ "$branch" != "develop" ] && [[ "$branch" != feature/* ]]; then | 30 | if [ "$branch" != "develop" ] && [[ "$branch" != release/* ]]; then |
31 | echo "Need to be on develop or release branch." | 31 | echo "Need to be on develop or release branch." |
32 | exit -1 | 32 | exit -1 |
33 | fi | 33 | fi |