Skip to content

Commit 99c6b11

Browse files
committed
fix release branch detection on midstream
Signed-off-by: Matej Vašek <mvasek@redhat.com>
1 parent 70b5453 commit 99c6b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/allocate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function get_latest_release_version() {
8787

8888
# Returns whether the current branch is a release branch.
8989
function is_release_branch() {
90-
[[ $(current_branch) =~ ^release-[0-9\.]+$ ]]
90+
[[ $(current_branch) =~ ^release-v[0-9\.]+$ ]]
9191
}
9292

9393
# Returns the current branch.

0 commit comments

Comments
 (0)