Skip to content
Merged
Changes from 1 commit
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
5 changes: 4 additions & 1 deletion run_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,10 @@ def _push_to_upstream(dry_run: bool = False) -> None:
"Does these operations look reasonable? ⚠️⚠️⚠️ Answering 'yes' will push to the upstream repository ⚠️⚠️⚠️"
Comment thread
hugovk marked this conversation as resolved.
Outdated
):
raise ReleaseException("Something is wrong - Push to upstream aborted")
if not ask_question("Is the target branch unprotected for your user?"):
if not ask_question(
"Is the target branch unprotected for your user? "
"Check at https://github.com/python/cpython/settings/branches"
):
raise ReleaseException("The target branch is not unprotected for your user")
_push_to_upstream(dry_run=False)

Expand Down