Fix release script
This commit is contained in:
@ -16,8 +16,10 @@ current_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
current_release_branch() {
|
current_release_branch() {
|
||||||
v="$(current_version)"
|
v="$(current_version)" # 3.3.0-rc.0
|
||||||
echo "release-${v%.*-"$PRERELEASE_SUFFIX".*}"
|
vf="${v%-"$PRERELEASE_SUFFIX".*}" # 3.3.0
|
||||||
|
r="${vf%.*}" # 3.3
|
||||||
|
echo "release-$r"
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_current_branch() {
|
assert_current_branch() {
|
||||||
|
|||||||
Reference in New Issue
Block a user