Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Co-authored-by: webknjaz < webknjaz+github/[email protected] >
  • Loading branch information
A5rocks and webknjaz authored May 16, 2024
1 parent 1c0f29e commit 25383d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
label:
types: [created]
push:
tags:
- v*

# a lot of code taken from https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml
jobs:
Expand All @@ -17,19 +18,18 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: trio-sdist
path: dist/*.tar.gz

- uses: actions/upload-artifact@v4
with:
name: trio-wheel
path: dist/*.whl
name: trio-dist
path: |
dist/*.tar.gz
dist/*.whl
pypi-publish:
needs: [build]
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
environment:
name: release
url: https://pypi.org/project/trio
permissions:
id-token: write

Expand Down
2 changes: 1 addition & 1 deletion docs/source/releasing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Things to do for releasing:

* tag with vVERSION, push tag on ``python-trio/trio`` (not on your personal repository)

* approve the release workflow
* approve the release workflow's publish job

* update version number in the same pull request

Expand Down

0 comments on commit 25383d9

Please sign in to comment.