Commit ba843f0a by Francisco Giordano

Fix release script

parent 4297be6a
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment