diff --git a/.github/changelogs.py b/.github/changelogs.py index 73e4776663f..a2b009073d4 100644 --- a/.github/changelogs.py +++ b/.github/changelogs.py @@ -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]