From 5c8ad5fedff8c72a99c1d9d87f0d33d7cef34a5a Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Wed, 25 Sep 2024 16:10:31 -0700 Subject: [PATCH 1/2] Add issue templates to files to change ...when bumping the minor version number. Also fix a minor typo in the area. --- release.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release.py b/release.py index 4bc10003..b4dbdf9f 100755 --- a/release.py +++ b/release.py @@ -438,6 +438,8 @@ def bump(tag: Tag) -> None: "Doc/license.rst", "PC/pyconfig.h.in", "PCbuild/rt.bat", + ".github/ISSUE_TEMPLATE/bug.yml", + ".github/ISSUE_TEMPLATE/crash.yml", ] print("\nManual editing time...") for fn in other_files: @@ -449,7 +451,7 @@ def bump(tag: Tag) -> None: print("Bumped revision") if extra_work: - print("configure.ac has change; re-run autotools!") + print("configure.ac has changed; re-run autotools!") print("Please commit and use --tag") From 75e719b7124af4a5b10d23027e91dec9555429cc Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 27 Sep 2024 10:37:34 -0700 Subject: [PATCH 2/2] Remove long-dead files that need no update --- release.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/release.py b/release.py index b4dbdf9f..8e25e32f 100755 --- a/release.py +++ b/release.py @@ -424,9 +424,7 @@ def bump(tag: Tag) -> None: tweak_patchlevel(tag) extra_work = False - # Older releases have a plain text README, - # newer releases have README.rst. - other_files = ["README.rst", "README", "Misc/NEWS"] + other_files = ["README.rst"] if tag.patch == 0 and tag.level == "a" and tag.serial == 0: extra_work = True other_files += [