Release Process¶
Version numbers:
official release:
{major}.{minor}.{patch}(e.g.2.2.1,3.1.0,4.0.0…)pre-release:
{major}.{minor}.{patch}.{dev|rc}{devel}(e.g.4.0.0.dev7,4.0.0rc1, …)
Steps to cut a new release (from a clean checkout of main):
Run
tox -e release_prepare {NEW_VERSION_NUMBER}.Review the staged changes, check all news fragments in
news.dwere properly handled (merged intoNEWS.mdand removed by towncrier).Run
tox -e release_finalizeFollow the last command instructions, and push to GitHub.