aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/publish.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/publish.sh b/build/publish.sh
index c8f7832..042b7c1 100755
--- a/build/publish.sh
+++ b/build/publish.sh
@@ -31,11 +31,11 @@ node build/langs.js || {
exit 1
}
-GH_TOKEN="$GH_TOKEN"
+TOKEN="$GH_TOKEN"
-[ "$GH_TOKEN" = "" ] && {
+[ "$TOKEN" = "" ] && {
echo "GH_TOKEN is not set, please type it below:"
- read -p "> " GH_TOKEN
+ read -p "> " TOKEN
}
-npm run publish
+GH_TOKEN="$TOKEN" npm run publish