diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-03 11:51:55 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-10-03 11:51:55 +0200 |
commit | f6dd7f7d18faf6b0a6601894584c969d85939685 (patch) | |
tree | 340b57bd480d4d2aa53486fc76cdabc7ea43714d /scripts/release.sh | |
parent | e33f888b86734f7e050a5e3d6f73f852b6de955a (diff) | |
download | PeerTube-f6dd7f7d18faf6b0a6601894584c969d85939685.tar.gz PeerTube-f6dd7f7d18faf6b0a6601894584c969d85939685.tar.zst PeerTube-f6dd7f7d18faf6b0a6601894584c969d85939685.zip |
parametrize gpg key in release script
Diffstat (limited to 'scripts/release.sh')
-rwxr-xr-x | scripts/release.sh | 3 |
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 |
25 | fi | 25 | fi |
26 | 26 | ||
27 | maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"} | ||
28 | |||
27 | branch=$(git symbolic-ref --short -q HEAD) | 29 | branch=$(git symbolic-ref --short -q HEAD) |
28 | if [ "$branch" != "develop" ] && [[ "$branch" != feature/* ]]; then | 30 | if [ "$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 .. |