Record that the loop reads no other mark of a cut release yet #557
@@ -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."""
|
||||
# The loop reads no other mark of a cut, such as another tag spelling or a Jira Fix Version marked released, until lilleman says to add one: his call, 2026-11-16.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user