Skip to content

Commit f8070ff

Browse files
github-actions[bot]nicoddemus
andauthoredOct 25, 2023
[7.4.x] Add deploy instructions using the command-line (#11553)
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 53df616 commit f8070ff

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed
 

‎scripts/prepare-release-pr.py

+11-5
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,22 @@ class InvalidFeatureRelease(Exception):
3131
SLUG = "pytest-dev/pytest"
3232

3333
PR_BODY = """\
34-
Created by the [prepare release pr](https://github.com/pytest-dev/pytest/actions/workflows/prepare-release-pr.yml)
35-
workflow.
34+
Created by the [prepare release pr]\
35+
(https://github.com/pytest-dev/pytest/actions/workflows/prepare-release-pr.yml) workflow.
3636
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:
37+
Once all builds pass and it has been **approved** by one or more maintainers, start the \
38+
[deploy](https://github.com/pytest-dev/pytest/actions/workflows/deploy.yml) workflow, using these parameters:
3939
4040
* `Use workflow from`: `release-{version}`.
4141
* `Release version`: `{version}`.
4242
43-
After the `deploy` workflow has been approved by a core maintainer, the package will be uploaded to PyPI automatically.
43+
Or execute on the command line:
44+
45+
```console
46+
gh workflow run deploy.yml -r release-{version} -f version={version}
47+
```
48+
49+
After the workflow has been approved by a core maintainer, the package will be uploaded to PyPI automatically.
4450
"""
4551

4652

0 commit comments

Comments
 (0)
Please sign in to comment.