Skip to content

Commit 930a510

Browse files
committed
Patchright Release [Versioning Release]
1 parent 797d6f3 commit 930a510

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/patchright_workflow.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ jobs:
8181
pip install -e .
8282
python setup.py bdist_wheel --all
8383
84+
- name: Create Empty Versioning Release
85+
if: steps.version_check.outputs.proceed == 'true'
86+
run: |
87+
$(curl -s -X POST \
88+
-H "Authorization: token $GITHUB_TOKEN" \
89+
-H "Content-Type: application/json" \
90+
-d "{\"tag_name\": \"${{ env.playwright_version }}\", \"name\": \"${{ env.playwright_version }}\", \"body\": \"This is an automatic deployment in response to a new release of [microsoft/playwright](https://github.com/microsoft/playwright-python).\nThe original Release can be seen [here](https://github.com/microsoft/playwright-python/releases/tag/${{ env.playwright_version }).\", \"draft\": false, \"prerelease\": false}" \
91+
"https://api.github.com/repos/$REPO/releases")
92+
8493
- name: Publish Patchright-Python Package
8594
if: steps.version_check.outputs.proceed == 'true'
8695
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)