mirror of https://github.com/pytest-dev/pytest.git
Add deploy instructions using the command-line (#11547)
Tested this to trigger the deploy of #11546.
This commit is contained in:
parent
c7e9b22f37
commit
dcd8b145d9
|
@ -31,16 +31,22 @@ class InvalidFeatureRelease(Exception):
|
||||||
SLUG = "pytest-dev/pytest"
|
SLUG = "pytest-dev/pytest"
|
||||||
|
|
||||||
PR_BODY = """\
|
PR_BODY = """\
|
||||||
Created by the [prepare release pr](https://github.com/pytest-dev/pytest/actions/workflows/prepare-release-pr.yml)
|
Created by the [prepare release pr]\
|
||||||
workflow.
|
(https://github.com/pytest-dev/pytest/actions/workflows/prepare-release-pr.yml) workflow.
|
||||||
|
|
||||||
Once all builds pass and it has been **approved** by one or more maintainers,
|
Once all builds pass and it has been **approved** by one or more maintainers, start the \
|
||||||
start the [deploy](https://github.com/pytest-dev/pytest/actions/workflows/deploy.yml) workflow, using these parameters:
|
[deploy](https://github.com/pytest-dev/pytest/actions/workflows/deploy.yml) workflow, using these parameters:
|
||||||
|
|
||||||
* `Use workflow from`: `release-{version}`.
|
* `Use workflow from`: `release-{version}`.
|
||||||
* `Release version`: `{version}`.
|
* `Release version`: `{version}`.
|
||||||
|
|
||||||
After the `deploy` workflow has been approved by a core maintainer, the package will be uploaded to PyPI automatically.
|
Or execute on the command line:
|
||||||
|
|
||||||
|
```console
|
||||||
|
gh workflow run deploy.yml -r release-{version} -f version={version}
|
||||||
|
```
|
||||||
|
|
||||||
|
After the workflow has been approved by a core maintainer, the package will be uploaded to PyPI automatically.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue