Properly escape current version (#8686) (#8688)

(cherry picked from commit a78a339407)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-03-06 14:37:41 -07:00
committed by GitHub
parent 5d3140c040
commit 085e773f27

View File

@ -50,7 +50,7 @@ SPECIAL=""
semverParseInto "$(readCargoVariable version "${Cargo_tomls[0]}")" MAJOR MINOR PATCH SPECIAL
[[ -n $MAJOR ]] || usage
currentVersion="$MAJOR.$MINOR.$PATCH$SPECIAL"
currentVersion="$MAJOR\.$MINOR\.$PATCH$SPECIAL"
bump=$1
if [[ -z $bump ]]; then