From 5df8bd5ae99526b1701f199cf6863dd718ec1fd9 Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Mon, 9 Dec 2024 11:59:54 -0800 Subject: [PATCH] Minor change to remove duplicates (#1852) --- releases/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/releases/util.py b/releases/util.py index 7b6557fb9..11b00afdb 100644 --- a/releases/util.py +++ b/releases/util.py @@ -20,6 +20,7 @@ def get_issues_from_repo(target, latest_release_only=False): issue_ids.append(re.search(r'\d+-', l).group(0).replace('-','')) if latest_release_only: break + issue_ids = list(set(issue_ids)) return issue_ids, release_names def add_issues_to_release(issue_id: int, zenhub_release_hash: str):