Skip to content

Commit

Permalink
Minor, but ensure we always match at least one number here.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Sep 14, 2023
1 parent 0d84ad8 commit f6077d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy_release_util/bootstrap_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def create_changelog(release_version: Version, galaxy_root: Path):
seen_prs = set()
try:
with open(prs_file) as fh:
seen_prs = set(map(int, re.findall(r"\.\. _Pull Request (\d*): https", fh.read())))
seen_prs = set(map(int, re.findall(r"\.\. _Pull Request (\d+): https", fh.read())))
except FileNotFoundError:
pass
_write_file(prs_file, PRS_TEMPLATE, skip_if_exists=True)
Expand Down

0 comments on commit f6077d2

Please sign in to comment.