Debian Codegraph @

testing/web-platform/tests/tools/third_party/pluggy/RELEASING.rst

raw
1 Release Procedure
2 -----------------
3
4 #. Dependening on the magnitude of the changes in the release, consider testing
5 some of the large downstream users of pluggy against the upcoming release.
6 You can do so using the scripts in the ``downstream/`` directory.
7
8 #. From a clean work tree, execute::
9
10 tox -e release -- VERSION
11
12 This will create the branch ready to be pushed.
13
14 #. Open a PR targeting ``main``.
15
16 #. All tests must pass and the PR must be approved by at least another maintainer.
17
18 #. Publish to PyPI by pushing a tag::
19
20 git tag X.Y.Z release-X.Y.Z
21 git push [email protected]:pytest-dev/pluggy.git X.Y.Z
22
23 The tag will trigger a new build, which will deploy to PyPI.
24
25 #. Make sure it is `available on PyPI <https://pypi.org/project/pluggy>`_.
26
27 #. Merge the PR into ``main``, either manually or using GitHub's web interface.