From b2fdf3b18518decbff855f3de23e3eb14a8e0a12 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Wed, 12 Jun 2024 06:57:45 +0100 Subject: [PATCH] Pause in `prepare-release` for updating the NEWS file This enables making fixes to the NEWS file to fix issues prior to moving forward with the rest of the release process. --- noxfile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/noxfile.py b/noxfile.py index 92d0e243838..370e2fe630e 100644 --- a/noxfile.py +++ b/noxfile.py @@ -294,6 +294,11 @@ def prepare_release(session: nox.Session) -> None: session.log("# Generating NEWS") release.generate_news(session, version) + if sys.stdin.isatty(): + input( + "Please review the NEWS file, make necessary edits, and stage them.\n" + "Press Enter to continue..." + ) session.log(f"# Bumping for release {version}") release.update_version_file(version, VERSION_FILE)