1Release Procedure
2-----------------
3
4#. Create a branch ``release-X.Y.Z`` from the latest ``master``.
5
6#. Manually update the ``CHANGELOG`` and commit.
7
8#. Open a PR for this branch targeting ``master``.
9
10#. After all tests pass and the PR has been approved by at least another maintainer, publish to PyPI by creating and pushing a tag::
11
12     git tag X.Y.Z
13     git push git@github.com:pytest-dev/py X.Y.Z
14
15   Wait for the deploy to complete, then make sure it is `available on PyPI <https://pypi.org/project/py>`_.
16
17#. Merge your PR to ``master``.
18