Closed oliviabarrick closed 6 years ago
I had a VERSION_PREFIX=v which caused my versions to have two "v":
VERSION_PREFIX=v
➜ fluxcloud git:(master) ✗ git semver --dryrun patch vv0.2.11 ➜ fluxcloud git:(master) ✗
Bash does not interpolate variables inside of single quotes, so this fixes the sed command in version-parse-major to use double quotes so that the VERSION_PREFIX gets properly stripped.
Thanks @justinbarrick, good catch.
I had a
VERSION_PREFIX=v
which caused my versions to have two "v":Bash does not interpolate variables inside of single quotes, so this fixes the sed command in version-parse-major to use double quotes so that the VERSION_PREFIX gets properly stripped.