-
Go to Github repo and run the action
build-and-publish-new-version
. You will be prompted to specify the version number. -
This runs a GitHub Action that will take the following steps:
- Fetches the repo and its dependencies
- Creates a release branch
- Updates the version number to the user-specified version by updating the pyproject.toml
- Commits the changes and tag the commit with the version number
- Builds the Python build artifacts
- Publishes a release to Github
- Create a PR to merge back into main
- Publishes to Test PyPI
- Publishes to PyPI
-
The action
build-and-publish-new-version
is defined under.github/workflows/build-and-publish-new-versionyaml
-
This release process follows the release process outlined in OneFlow.