Releasing¶
The package is published to PyPI as rule-coherence-graph (import name and
CLI command remain rcg).
- Make sure CI is green on
main(ruff + mypy + pytest). - Bump
versioninpyproject.toml(semver). - Build the distributions:
uv build # -> dist/rule_coherence_graph-<v>-py3-none-any.whl + .tar.gz uvx twine check dist/* - Publish (needs a PyPI API token; the first upload reserves the name):
uvx twine upload dist/* # or: uv publish --token "$PYPI_TOKEN" - Tag the release:
git tag v<version> && git push --tags
dist/ and build/ are git-ignored; never commit build artifacts.