See the contributing guide for instructions on setting up your development environment and tools for formatting and type checking.
-
Ensure clean git status.
-
Set the version for release, e.g.
python scripts/bump_version.py --patch python scripts/bump_version.py --minorThis also creates the git tag.
-
Push to GitHub:
git push git push --tagsImportant: This must push a single tag only! Pushing the single tag triggers the
create-releaseworkflow for the tag, which creates a draft release on GitHub. -
Review the draft release on the GitHub Releases page. When ready, publish it (click Publish release). This triggers the
publishworkflow, which builds and publishes the package to PyPI.