Skip to content
Permalink
Browse files

fix(release): add some hints to the release script

  • Loading branch information...
hanxiao committed Oct 17, 2019
1 parent 394a007 commit dbf1a5e7528ad227a2952e341726fe40f289160a
Showing with 5 additions and 0 deletions.
  1. +5 −0 release.sh
@@ -3,6 +3,7 @@
# Requirements
# brew install hub
# npm install -g git-release-notes
# pip install twine

set -e

@@ -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)

0 comments on commit dbf1a5e

Please sign in to comment.
You can’t perform that action at this time.