release-tools icon indicating copy to clipboard operation
release-tools copied to clipboard

Further automate build and release process

Open sethmlarson opened this issue 1 year ago • 1 comments

We also have partially automated the release process in GitHub Actions but haven't reached the level of automation that we have for Windows and Azure Pipelines.

Currently run_release requires humans to click around in the GitHub UI to manually execute the GitHub workflow, which wasn't the case before. We also lost the automatic local testing step in favor of testing on GitHub Actions, but local assurance is good to have for RMs.

  • [ ] Further automate kicking off the build and release workflows on GitHub Actions.
  • [ ] Automatically detect workflow completion and download artifacts from GitHub Actions.
  • [ ] Add back local testing to run_release.py script once artifacts are automatically downloaded.

cc @ambv

sethmlarson avatar Apr 09 '24 13:04 sethmlarson

  • Further automate kicking off the build and release workflows on GitHub Actions.

Doable with the gh CLI with:

gh workflow run source-and-docs-release.yml -f git_remote=python -f git_commit=4f8bb3947cfbc20f970ff9d9531e1132a9e95396 -f cpython_release=3.13.2

For example: https://github.com/python/release-tools/actions/runs/13741146272

Docs: https://cli.github.com/manual/gh_workflow_run

hugovk avatar Mar 08 '25 20:03 hugovk