Skip to content

Commit b2fdf3b

Browse files
committed
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.
1 parent ccd7be1 commit b2fdf3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

noxfile.py

+5
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,11 @@ def prepare_release(session: nox.Session) -> None:
294294

295295
session.log("# Generating NEWS")
296296
release.generate_news(session, version)
297+
if sys.stdin.isatty():
298+
input(
299+
"Please review the NEWS file, make necessary edits, and stage them.\n"
300+
"Press Enter to continue..."
301+
)
297302

298303
session.log(f"# Bumping for release {version}")
299304
release.update_version_file(version, VERSION_FILE)

0 commit comments

Comments
 (0)