Ensure that CHANGELOG.rst
is up-to-date with the correct version number and release date.
To create a new published release, follow the instructions here. Ensure you create the new tag to correspond with the release as required.
- Go to the Releases page
- Click 'Draft a new release'
- Choose or create a new tag
- Choose the desired branch (if not
main
) - Check 'Set as a pre-release' or 'Set as the latest release' as appropriate
- Generate release notes if desired.
- Click 'Publish release'
The release
github workflow will run and publish the release binaries to both test.pypi.org and pypi.org.
readthedocs integration is used to publish documentation. The webhook endpoint on readthedocs is configured using these instructions.
This is implemented using a Webhook defined in the Github repo (Settings / Webhooks).
readthedocs should be checked after each release to ensure that the docs have built correctly. Login to readthedocs.org to check that the build ran OK (click on 'Builds' tab).
For pre-releases, the release version has to be activated via the readthedocs UI before it can be built.