Skip to content

Commit 89495c5

Browse files
committed
Clarify assumption
1 parent 13e3fff commit 89495c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/update-release-notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def main(args: Namespace) -> int:
5656
return 1
5757
release = candidate_releases[0]
5858

59-
# All the releases that are not draft and have a valid semantic version tag
59+
# All the releases that are not draft and have a valid semantic version tag, our current release is assumed to be in draft (i.e. not yet released)
6060
previous_releases = [release for release in releases if semantic_version.validate(release.tag_name[1:]) and not release.draft] # type: ignore
6161
if len(previous_releases) == 0:
6262
print(f"Error: no previous releases found", file=sys.stderr)

0 commit comments

Comments
 (0)