1
0
Fork 0

parametrize gpg key in release script

This commit is contained in:
Rigel Kent 2018-10-03 11:51:55 +02:00
parent e33f888b86
commit f6dd7f7d18
No known key found for this signature in database
GPG Key ID: EA12971B0E438F36
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,8 @@ if [ -z "$GITHUB_TOKEN" ]; then
exit -1
fi
maintainer_public_key=${MAINTAINER_GPG:-"583A612D890159BE"}
branch=$(git symbolic-ref --short -q HEAD)
if [ "$branch" != "develop" ] && [[ "$branch" != feature/* ]]; then
echo "Need to be on develop or release branch."
@ -75,7 +77,6 @@ rm "./client/dist/embed-stats.json"
"$directory_name/dist" "$directory_name/package.json" \
"$directory_name/scripts" "$directory_name/support" \
"$directory_name/tsconfig.json" "$directory_name/yarn.lock")
maintainer_public_key="583A612D890159BE"
# temporary setup
cd ..