8000 Show GH CLI command for starting build (#221) · python/release-tools@4a6cf47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a6cf47

Browse files
hugovkAA-Turner
andauthored
Show GH CLI command for starting build (#221)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent c837e4d commit 4a6cf47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

run_release.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,14 @@ def start_build_of_source_and_docs(db: ReleaseShelf) -> None:
872872
print(f"- Git commit to target for the release: {commit_sha}")
873873
print(f"- CPython release number: {db['release']}")
874874
print()
875+
print("Or using the GitHub CLI run:")
876+
print(
877+
" gh workflow run source-and-docs-release.yml --repo python/release-tools"
878+
f" -f git_remote={origin_remote_github_owner}"
879+
f" -f git_commit={commit_sha}"
880+
f" -f cpython_release={db['release']}"
881+
)
882+
print()
875883

876884
if not ask_question("Have you started the source and docs build?"):
877885
raise ReleaseException("Source and docs build must be started")

0 commit comments

Comments
 (0)
0