Skip to content

Commit

Permalink
Add in searching for \d with no space (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Nov 18, 2024
1 parent bb0afd1 commit 7554d33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions releases/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def get_issues_from_repo(target, latest_release_only=False):
for l in release.body.splitlines():
if re.search(r'\d+ -', l):
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 latest_release_only:
break
return issue_ids, release_names
Expand Down

0 comments on commit 7554d33

Please sign in to comment.