Fix release script

This commit is contained in:
Francisco Giordano
2020-11-26 20:42:32 -03:00
parent 4297be6ac1
commit ba843f0ad9

View File

@ -16,8 +16,10 @@ current_version() {
}
current_release_branch() {
v="$(current_version)"
echo "release-${v%.*-"$PRERELEASE_SUFFIX".*}"
v="$(current_version)" # 3.3.0-rc.0
vf="${v%-"$PRERELEASE_SUFFIX".*}" # 3.3.0
r="${vf%.*}" # 3.3
echo "release-$r"
}
assert_current_branch() {