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


fix(release): ask BOT_URL before releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Jul 19, 2019
1 parent f2b7b8a commit 887d89c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ if [[ "$BRANCH" != "master" ]]; then
exit 1;

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

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

0 comments on commit 887d89c

Please sign in to comment.