Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Mar 15, 2025

For #108.

Prints the command needed to start a build using the GitHub CLI: https://github.com/cli/cli

For example, it will output something like this, the second bit is new:

Go to https://github.com/python/release-tools/actions/workflows/source-and-docs-release.yml
Select 'Run workflow' and enter the following values:
- Git remote to checkout: hugovk
- Git commit to target for the release: 240b882b2a17621c1a32eceb9227447be55ffb84
- CPython release number: 3.14.0a6

Or using the GitHub CLI run:
  gh workflow run source-and-docs-release.yml --repo python/release-tools -f git_remote=hugovk -f git_commit=240b882b2a17621c1a32eceb9227447be55ffb84 -f cpython_release=3.14.0a6

(We can later further automate by actually calling this: we'll need to make sure RMs have the tool installed -- if that's an acceptable requirement. Otherwise, via API calls, which will need token management etc. But first let's just print it.)

Co-authored-by: Adam Turner <[email protected]>
@hugovk hugovk merged commit 4a6cf47 into python:master Mar 17, 2025
12 checks passed
@hugovk hugovk deleted the gh-cli-command branch March 17, 2025 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants