File tree 3 files changed +13
-4
lines changed
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 36
36
timeout-minutes : 30
37
37
permissions :
38
38
id-token : write
39
+ contents : write
39
40
steps :
40
41
- uses : actions/checkout@v3
42
+
41
43
- name : Download Package
42
44
uses : actions/download-artifact@v3
43
45
with :
Original file line number Diff line number Diff line change @@ -134,7 +134,8 @@ Releasing
134
134
Both automatic and manual processes described above follow the same steps from this point onward.
135
135
136
136
#. After all tests pass and the PR has been approved, trigger the ``deploy `` job
137
- in https://github.com/pytest-dev/pytest/actions/workflows/deploy.yml.
137
+ in https://github.com/pytest-dev/pytest/actions/workflows/deploy.yml, using the ``release-MAJOR.MINOR.PATCH `` branch
138
+ as source.
138
139
139
140
This job will require approval from ``pytest-dev/core ``, after which it will publish to PyPI
140
141
and tag the repository.
Original file line number Diff line number Diff line change @@ -31,10 +31,16 @@ class InvalidFeatureRelease(Exception):
31
31
SLUG = "pytest-dev/pytest"
32
32
33
33
PR_BODY = """\
34
- Created automatically from manual trigger.
34
+ Created by the [prepare release pr](https://github.com/pytest-dev/pytest/actions/workflows/prepare-release-pr.yml)
35
+ workflow.
35
36
36
- Once all builds pass and it has been **approved** by one or more maintainers, the build
37
- can be released by pushing a tag `{version}` to this repository.
37
+ Once all builds pass and it has been **approved** by one or more maintainers,
38
+ start the [deploy](https://github.com/pytest-dev/pytest/actions/workflows/deploy.yml) workflow, using these parameters:
39
+
40
+ * `Use workflow from`: `release-{version}`.
41
+ * `Release version`: `{version}`.
42
+
43
+ After the `deploy` workflow has been approved by a core maintainer, the package will be uploaded to PyPI automatically.
38
44
"""
39
45
40
46
You can’t perform that action at this time.
0 commit comments