Releasing¶
This project uses GitHub Actions for release automation.
Workflows¶
deploy-docs.yml- Trigger: pushes to
mainthat modify docs-related files. -
Action: builds MkDocs and deploys to GitHub Pages.
-
release-tag-publish.yml - Trigger: tag pushes (
v*or*.*.*) and manual dispatch. - Action order:
- Deploy docs for the tag.
- Validate tag version matches
pyproject.tomlversion. - Build package distributions.
- Run
twine check. - Publish to PyPI.
Tag format¶
Recommended tag format:
git tag v1.0.1
git push origin v1.0.1
The workflow strips the leading v before comparing with project.version.
Required setup¶
Configure PyPI Trusted Publishing for this repository:
- Repository:
jasonjimnz/sendou_ink_sdk - Workflow:
release-tag-publish.yml
No PyPI API token is required when Trusted Publishing is configured.
Manual local build (optional)¶
python -m pip install -e ".[build]"
python -m build
python -m twine check dist/*