Skip to content

Commit 9f4f954

Browse files
committed
Document how to release pluggy
1 parent 8029ab0 commit 9f4f954

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

HOWTORELEASE.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Release Procedure
2+
-----------------
3+
4+
#. Update the ``CHANGELOG.rst`` for the new release and commit.
5+
6+
#. Open a PR named ``release-X.Y.Z`` targeting ``master``.
7+
8+
#. All tests must pass and the PR must be approved by at least another maintainer.
9+
10+
#. Publish to PyPI by pushing a tag::
11+
12+
git tag X.Y.Z release-X.Y.Z
13+
git push [email protected]:pytest-dev/pluggy.git X.Y.Z
14+
15+
The tag will trigger a new build, which will deploy to PyPI.
16+
17+
#. Make sure it is `available on PyPI <https://pypi.org/project/pluggy>`_.
18+
19+
#. Merge ``release-X.Y.Z`` into ``master``, either manually or using GitHub's web interface.
20+

0 commit comments

Comments
 (0)