From fc239812f4b8660982f02d473894c9ada95df60c Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 15 Mar 2025 19:59:28 +0200 Subject: [PATCH 1/2] Show GH CLI command for starting build --- run_release.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/run_release.py b/run_release.py index 161927e3..a9d2e227 100755 --- a/run_release.py +++ b/run_release.py @@ -872,6 +872,14 @@ def start_build_of_source_and_docs(db: ReleaseShelf) -> None: print(f"- Git commit to target for the release: {commit_sha}") print(f"- CPython release number: {db['release']}") print() + print("Or using the GitHub CLI run:") + print( + f" gh workflow run source-and-docs-release.yml --repo python/release-tools" + f" -f git_remote={origin_remote_github_owner}" + f" -f git_commit={commit_sha}" + f" -f cpython_release={db['release']}" + ) + print() if not ask_question("Have you started the source and docs build?"): raise ReleaseException("Source and docs build must be started") From ac969fd4c3460054ad49d141fbb9bf31dd33b8c1 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 16 Mar 2025 21:14:47 +0200 Subject: [PATCH 2/2] Remove f from non f string Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- run_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_release.py b/run_release.py index a9d2e227..6dc319b8 100755 --- a/run_release.py +++ b/run_release.py @@ -874,7 +874,7 @@ def start_build_of_source_and_docs(db: ReleaseShelf) -> None: print() print("Or using the GitHub CLI run:") print( - f" gh workflow run source-and-docs-release.yml --repo python/release-tools" + " gh workflow run source-and-docs-release.yml --repo python/release-tools" f" -f git_remote={origin_remote_github_owner}" f" -f git_commit={commit_sha}" f" -f cpython_release={db['release']}"