-
Notifications
You must be signed in to change notification settings - Fork 6
Release Process
Huzefaaa2 edited this page Jan 24, 2026
·
7 revisions
Update version in pyproject.toml.
git tag -a v0.2.0 -m "v0.2.0"
git push origin v0.2.0Create a GitHub release from the tag and paste notes from the changelog.
python -m pip install build twine
python -m build
python -m twine upload dist/*Requires a PYPI_API_TOKEN configured for the repo.
The release workflow publishes to PyPI and creates a GitHub release on tag push.
Setup:
- Add repository secret
PYPI_API_TOKENwith your PyPI API token. - Push a tag like
v0.2.1to trigger the workflow.
The workflow reads RELEASE_NOTES.md for release body content.
On tag pushes, a separate workflow builds and publishes a container image to GHCR: