From 2fdc75d0356281d5b9e96c92348ca53f1eb481fa Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 16 Nov 2026 01:43:26 +0100 Subject: [PATCH] Record that the loop reads no other mark of a cut release yet --- bin/release_plan/release_standing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/release_plan/release_standing.py b/bin/release_plan/release_standing.py index 5fbb4bc4..efd576db 100644 --- a/bin/release_plan/release_standing.py +++ b/bin/release_plan/release_standing.py @@ -200,6 +200,7 @@ def next_release(found: list[Item], cut: LastCut) -> Upcoming | Cut | Unknown: def cut_version(cut: LastCut) -> Release | None: """Which version is cut. It is the tag's, or None where the tag names no version. On a branch with no tag, it is the newest version under a dated CHANGELOG.md heading, else BEFORE_FIRST_RELEASE.""" + # These are the only marks of a cut the loop reads. Lilleman, 2026-11-16, asked whether to read others, such as another tag spelling or a Jira Fix Version marked released: "Don't add anything yet, we'll get back to this later." Add one only on his word. if cut.tag is None: return dated_cut(cut.tag, cut.changelog) or BEFORE_FIRST_RELEASE return tagged(cut.tag) if isinstance(cut.tag, str) else None