From 8865566e22384b6ef83eed58f5ff267a0b225cf5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 3 Dec 2025 00:40:13 +0200 Subject: [PATCH] Fix patch branch comparison --- release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.py b/release.py index e6fa52d3..35b14093 100755 --- a/release.py +++ b/release.py @@ -771,7 +771,7 @@ def make_tag(tag: Tag, *, sign_gpg: bool = True) -> bool: if tag.patch > 0: if ( get_output(["git", "name-rev", "--name-only", "HEAD"]).strip().decode() - != tag.basic_version + != f"branch-{tag}" ): print("It doesn't look like you're on the correct branch.") if input("Are you sure you want to tag? (y/n) > ").lower() not in (