Skip to content

Commit c14f498

Browse files
authored
Merge pull request #7908 from bluetech/post-release-tag
RELEASING: make sure we have an accurate version in a commit in master
2 parents 66311ff + f6b682a commit c14f498

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
- master
77
- "[0-9]+.[0-9]+.x"
88
tags:
9-
- "*"
9+
- "[0-9]+.[0-9]+.[0-9]+"
10+
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"
1011

1112
pull_request:
1213
branches:

RELEASING.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ Both automatic and manual processes described above follow the same steps from t
122122

123123
#. Open a PR for ``cherry-pick-release`` and merge it once CI passes. No need to wait for approvals if there were no conflicts on the previous step.
124124

125+
#. For major and minor releases, tag the release cherry-pick merge commit in master with
126+
a dev tag for the next feature release::
127+
128+
git checkout master
129+
git pull
130+
git tag MAJOR.{MINOR+1}.0.dev0
131+
git push [email protected]:pytest-dev/pytest.git MAJOR.{MINOR+1}.0.dev0
132+
125133
#. Send an email announcement with the contents from::
126134

127135
doc/en/announce/release-<VERSION>.rst

0 commit comments

Comments
 (0)