Skip to content
Permalink
Browse files

revert(release): revert back master check

  • Loading branch information...
hanxiao committed Jul 17, 2019
1 parent 8030feb commit 0c737a944e3edef97bcf94ea5d35bedf0483795f
Showing with 5 additions and 5 deletions.
  1. +5 −5 release.sh
@@ -71,11 +71,11 @@ function make_release_note {
printf '\n%s\n%s\n%s\n%s\n' "# Release Note (\`$2\`)" "> Release time: $(date +'%Y-%m-%d %H:%M:%S')" "$(cat ./CHANGELOG.tmp)" "$(cat ./CHANGELOG.md)" > ./CHANGELOG.md
}

#BRANCH=$(git rev-parse --abbrev-ref HEAD)
#if [[ "$BRANCH" != "master" ]]; then
# printf "You are not at master branch, exit\n";
# exit 1;
#fi
BRANCH=$(git rev-parse --abbrev-ref HEAD)
if [[ "$BRANCH" != "master" ]]; then
printf "You are not at master branch, exit\n";
exit 1;
fi


#$(grep "$VER_TAG" $CLIENT_CODE | sed -n 's/^.*'\''\([^'\'']*\)'\''.*$/\1/p')

0 comments on commit 0c737a9

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