Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit dbf1a5e

Browse files
committed
fix(release): add some hints to the release script
1 parent 394a007 commit dbf1a5e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

release.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Requirements
44
# brew install hub
55
# npm install -g git-release-notes
6+
# pip install twine
67

78
set -e
89

@@ -95,6 +96,10 @@ if [[ -z "${BOT_URL}" ]]; then
9596
exit 1;
9697
fi
9798

99+
if [[ -z "${GITHUB_TOKEN}" ]]; then
100+
printf "GITHUB_TOKEN is not set! Need to export GITHUB_TOKEN=xxx"
101+
exit 1;
102+
fi
98103

99104
#$(grep "$VER_TAG" $CLIENT_CODE | sed -n 's/^.*'\''\([^'\'']*\)'\''.*$/\1/p')
100105
OLDVER=$(git tag -l | sort -V |tail -n1)

0 commit comments

Comments
 (0)