Releasing¶
Shrd is published to PyPI as shrd. The Python import name is shard.
Prerequisites¶
- PyPI trusted publishing configured for this repository (
workflow.yml) - All changes merged to
main - Version bumped in
pyproject.tomlandshard/__init__.py CHANGELOG.mdupdated
Release steps¶
- Ensure CI is green on
main. - Commit version and changelog updates.
- Tag the release:
- GitHub Actions workflow
.github/workflows/workflow.ymlbuilds and publishes to PyPI. - Verify:
Manual publish (fallback)¶
Use a PyPI API token if trusted publishing is unavailable.