From 542887ca3d0b13c7fe0714358f6875d053b46eea Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Sun, 17 Nov 2024 01:30:01 -0500 Subject: [PATCH] fix: changelogs only need 2 tags (#1937) --- .github/changelogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]