release-process.rst (674B)
1 Release Process 2 =============== 3 4 #. Checkout the current ``main`` branch. 5 #. Install the latest ``nox``:: 6 7 $ pip install nox 8 9 #. Run the release automation with the required version number (YY.N):: 10 11 $ nox -s release -- YY.N 12 13 You will need the password for your GPG key as well as an API token for PyPI. 14 15 #. Add a `release on GitHub <https://github.com/pypa/packaging/releases>`__. 16 17 #. Notify the other project owners of the release. 18 19 .. note:: 20 21 Access needed for making the release are: 22 23 - PyPI maintainer (or owner) access to ``packaging`` 24 - push directly to the ``main`` branch on the source repository 25 - push tags directly to the source repository