Skip to content

Commit

Permalink
fix: changelogs only need 2 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Nov 17, 2024
1 parent 4e3e326 commit 669f343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/changelogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_tags(target: str, manifests: dict[str, Any]):
tags.add(tag)

tags = list(sorted(tags))
if not len(tags) > 2:
if not len(tags) >= 2:
print("No current and previous tags found")
exit(1)
return tags[-2], tags[-1]
Expand Down

0 comments on commit 669f343

Please sign in to comment.