Skip to content

Commit dcd8b14

Browse files
authored
Add deploy instructions using the command-line (#11547)
Tested this to trigger the deploy of #11546.
1 parent c7e9b22 commit dcd8b14

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)