Skip to content

Commit

Permalink
Add in handling of <issueId1> & <issueId2>
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jan 8, 2025
1 parent f6265ea commit 8f9f822
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions releases/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ def get_issues_from_repo(target, latest_release_only=False):
issue_ids.append(re.search(r'\d+ -', l).group(0).replace(' -',''))
if re.search(r'\d+-', l):
issue_ids.append(re.search(r'\d+-', l).group(0).replace('-',''))
if re.search(r'(\d+)\s&\s(\d+)\s-', l):
issue_ids.append(re.search(r'(\d+)\s&\s(\d+)\s-', l).group(1))
issue_ids.append(re.search(r'(\d+)\s&\s(\d+)\s-', l).group(2))

if latest_release_only:
break
issue_ids = list(set(issue_ids))
Expand Down

0 comments on commit 8f9f822

Please sign in to comment.