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

Commit

Permalink
fix(release): add some hints to the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Oct 17, 2019
1 parent 394a007 commit dbf1a5e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Requirements
# brew install hub
# npm install -g git-release-notes
# pip install twine

set -e

Expand Down Expand Up @@ -95,6 +96,10 @@ if [[ -z "${BOT_URL}" ]]; then
exit 1;
fi

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

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

0 comments on commit dbf1a5e

Please sign in to comment.