Skip to content

Commit

Permalink
remove redundant rc label
Browse files Browse the repository at this point in the history
  • Loading branch information
xchapter7x committed Nov 2, 2019
1 parent 75498fc commit 0603c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/create_new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [[ ${BUMP_SEMVER_PATCH} -eq "" ]]; then
fi
BUMP_SEMVER_RC=$(git tag -l | grep "${BUMP_SEMVER_PATCH}" | grep -e "-rc" | tail -1 | awk -F"-rc." '{print $2+1}')
if [[ ${BUMP_SEMVER_RC} -eq "" ]]; then
BUMP_SEMVER_RC="-rc.0"
BUMP_SEMVER_RC="0"
fi
SEMVER=${BUMP_SEMVER_PATCH}-rc.${BUMP_SEMVER_RC}
echo "tag id is: "${SEMVER}
Expand Down

0 comments on commit 0603c1b

Please sign in to comment.