parametrize gpg key in release script
This commit is contained in:
parent
e33f888b86
commit
f6dd7f7d18
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,8 @@ if [ -z "$GITHUB_TOKEN" ]; then
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
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" != feature/* ]]; then
|
||||||
echo "Need to be on develop or release branch."
|
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/dist" "$directory_name/package.json" \
|
||||||
"$directory_name/scripts" "$directory_name/support" \
|
"$directory_name/scripts" "$directory_name/support" \
|
||||||
"$directory_name/tsconfig.json" "$directory_name/yarn.lock")
|
"$directory_name/tsconfig.json" "$directory_name/yarn.lock")
|
||||||
maintainer_public_key="583A612D890159BE"
|
|
||||||
|
|
||||||
# temporary setup
|
# temporary setup
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue