Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add issue templates to files to change #170

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,7 @@
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"]

Check warning on line 427 in release.py

View check run for this annotation

Codecov / codecov/patch

release.py#L427

Added line #L427 was not covered by tests
if tag.patch == 0 and tag.level == "a" and tag.serial == 0:
extra_work = True
other_files += [
Expand All @@ -438,6 +436,8 @@
"Doc/license.rst",
"PC/pyconfig.h.in",
"PCbuild/rt.bat",
".github/ISSUE_TEMPLATE/bug.yml",
".github/ISSUE_TEMPLATE/crash.yml",
hugovk marked this conversation as resolved.
Show resolved Hide resolved
]
print("\nManual editing time...")
for fn in other_files:
Expand All @@ -449,7 +449,7 @@

print("Bumped revision")
if extra_work:
print("configure.ac has change; re-run autotools!")
print("configure.ac has changed; re-run autotools!")

Check warning on line 452 in release.py

View check run for this annotation

Codecov / codecov/patch

release.py#L452

Added line #L452 was not covered by tests
print("Please commit and use --tag")


Expand Down