aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-10-03 11:51:55 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-10-03 11:51:55 +0200
commitf6dd7f7d18faf6b0a6601894584c969d85939685 (patch)
tree340b57bd480d4d2aa53486fc76cdabc7ea43714d /scripts
parente33f888b86734f7e050a5e3d6f73f852b6de955a (diff)
downloadPeerTube-f6dd7f7d18faf6b0a6601894584c969d85939685.tar.gz
PeerTube-f6dd7f7d18faf6b0a6601894584c969d85939685.tar.zst
PeerTube-f6dd7f7d18faf6b0a6601894584c969d85939685.zip
parametrize gpg key in release script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index ef6399b68..7b577ef35 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -24,6 +24,8 @@ if [ -z "$GITHUB_TOKEN" ]; then
24 exit -1 24 exit -1
25fi 25fi
26 26
27maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"}
28
27branch=$(git symbolic-ref --short -q HEAD) 29branch=$(git symbolic-ref --short -q HEAD)
28if [ "$branch" != "develop" ] && [[ "$branch" != feature/* ]]; then 30if [ "$branch" != "develop" ] && [[ "$branch" != feature/* ]]; then
29 echo "Need to be on develop or release branch." 31 echo "Need to be on develop or release branch."
@@ -75,7 +77,6 @@ rm "./client/dist/embed-stats.json"
75 "$directory_name/dist" "$directory_name/package.json" \ 77 "$directory_name/dist" "$directory_name/package.json" \
76 "$directory_name/scripts" "$directory_name/support" \ 78 "$directory_name/scripts" "$directory_name/support" \
77 "$directory_name/tsconfig.json" "$directory_name/yarn.lock") 79 "$directory_name/tsconfig.json" "$directory_name/yarn.lock")
78 maintainer_public_key="583A612D890159BE"
79 80
80 # temporary setup 81 # temporary setup
81 cd .. 82 cd ..