Skip to content

Commit 8d27e92

Browse files
committed
Clarify the tag should be created in the MAJOR.MINOR.x branch
1 parent 5558601 commit 8d27e92

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

RELEASING.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ taking a lot of time to make a new one.
1010
pytest releases must be prepared on **Linux** because the docs and examples expect
1111
to be executed on that platform.
1212

13-
The release a version ``MAJOR.MINOR.PATCH``, follow these steps:
13+
To release a version ``MAJOR.MINOR.PATCH``, follow these steps:
1414

1515
#. For major and minor releases, create a new branch ``MAJOR.MINOR.x`` from the
1616
latest ``master`` and push it to the ``pytest-dev/pytest`` repo.
@@ -27,7 +27,8 @@ The release a version ``MAJOR.MINOR.PATCH``, follow these steps:
2727

2828
#. Open a PR for the ``release-MAJOR.MINOR.PATCH`` branch targeting ``MAJOR.MINOR.x``.
2929

30-
#. After all tests pass and the PR has been approved, publish to PyPI by pushing the tag::
30+
#. After all tests pass and the PR has been approved, tag the release commit
31+
in the ``MAJOR.MINOR.x`` branch and push it. This will publish to PyPI::
3132

3233
git tag MAJOR.MINOR.PATCH
3334
git push [email protected]:pytest-dev/pytest.git MAJOR.MINOR.PATCH

0 commit comments

Comments
 (0)