summaryrefslogtreecommitdiffstats
path: root/third_party/python/py/HOWTORELEASE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/py/HOWTORELEASE.rst')
-rw-r--r--third_party/python/py/HOWTORELEASE.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/python/py/HOWTORELEASE.rst b/third_party/python/py/HOWTORELEASE.rst
new file mode 100644
index 0000000000..8d0231639d
--- /dev/null
+++ b/third_party/python/py/HOWTORELEASE.rst
@@ -0,0 +1,17 @@
+Release Procedure
+-----------------
+
+#. Create a branch ``release-X.Y.Z`` from the latest ``master``.
+
+#. Manually update the ``CHANGELOG`` and commit.
+
+#. Open a PR for this branch targeting ``master``.
+
+#. After all tests pass and the PR has been approved by at least another maintainer, publish to PyPI by creating and pushing a tag::
+
+ git tag X.Y.Z
+ git push git@github.com:pytest-dev/py X.Y.Z
+
+ Wait for the deploy to complete, then make sure it is `available on PyPI <https://pypi.org/project/py>`_.
+
+#. Merge your PR to ``master``.