Skip to content
Permalink
Browse files

fix(release): ask BOT_URL before releasing

  • Loading branch information...
hanxiao committed Jul 19, 2019
1 parent f2b7b8a commit 887d89cc2d99720a94260ea113584b4d1c472ea4
Showing with 5 additions and 0 deletions.
  1. +5 −0 release.sh
@@ -81,6 +81,11 @@ if [[ "$BRANCH" != "master" ]]; then
exit 1;
fi

if [[ -z "${BOT_URL}" ]]; then
printf "BOT_URL is not set! Need to export BOT_URL=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 887d89c

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