Skip to content

Commit

Permalink
Merge pull request #12764 from pradyunsg/pause-prepare-release-for-ne…
Browse files Browse the repository at this point in the history
…ws-edits

Pause in `prepare-release` for updating the NEWS file
  • Loading branch information
pradyunsg authored Jun 12, 2024
2 parents 71b1688 + b2fdf3b commit d94806f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d94806f

Please sign in to comment.