Releasing
Maintainers publish releases from main. Use a bare version tag, such as
2.2.0, without a v prefix.
Prepare the release
- Merge the accepted pull requests. Fixes for the current release go into
main, and work for the next minor release goes intofeature. For a minor release, merge the completedfeaturebranch intomain. - Confirm CI passes. Run the documentation build and rehearse any affected migration paths.
- In the release pull request, set the release date of the entry in Release notes, keep only shipped changes in it, and verify its compatibility and upgrade guidance. Add the release to the README compatibility matrix.
- Update
[project].versioninpyproject.toml. The plugin reads its version from installed package metadata, so there is no separate version constant to update innetbox_acls/__init__.py. -
Build the package, validate its metadata, and check that the wheel contains the templates and migrations:
rm -rf dist/ python -m build python -m twine check --strict dist/* python -m zipfile -l dist/*.whlInstall the
buildandtwinetools first if your release environment lacks them.
Publish and verify
Create the GitHub release from the prepared main commit with the bare version
tag. Publishing it triggers .github/workflows/python-publish.yml, which builds
the package and publishes it to PyPI.
Check the workflow result, the package version on PyPI, and installation in a clean test deployment. Verify migrations, plugin startup, and the final documentation links.
The Docs workflow publishes the site on pushes to main, independently of
the PyPI release workflow. Deployment requires
the repository's Pages source to be GitHub Actions, as the header of
.github/workflows/docs.yml notes. Finalize release wording before merging the
release into main.