aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
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 ..