Skip to content

Commit

Permalink
Fix tools/finalize to use NEWS instead of CHANGES (towncrier-related)
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Aug 15, 2023
1 parent 8643420 commit 80b98e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/finalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _repair_changelog():
"""
Workaround for #2666
"""
changelog_fn = pathlib.Path('CHANGES.rst')
changelog_fn = pathlib.Path('NEWS.rst')
changelog = changelog_fn.read_text(encoding='utf-8')
fixed = re.sub(r'^(v[0-9.]+)v[0-9.]+$', r'\1', changelog, flags=re.M)
changelog_fn.write_text(fixed, encoding='utf-8')
Expand Down

0 comments on commit 80b98e7

Please sign in to comment.