Releases go to PyPI from GitHub, with no token: PyPI trusts this repository's
.github/workflows/publish.yml (Trusted Publishing). See that file for details.
-
Bump
versioninsetup.pyand add the release toCHANGELOG.md. -
Merge to
master. -
Create the release; the tag (minus a leading
v) must match the version:gh release create v1.3.0 --generate-notes -
The workflow runs the tests, builds, and waits for an Approve on the
pypienvironment in GitHub Actions before uploading. -
Check https://pypi.org/project/wordstats/ and bump the pin in the Zeeguu API's
requirements.txt.