Properly escape current version (#8686)

This commit is contained in:
Michael Vines
2020-03-06 14:36:01 -07:00
committed by GitHub
parent 0919b13c87
commit a78a339407

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