Skip to content

Commit c6b6f81

Browse files
committed
Activate venv in release workflow to use twine
1 parent ca09603 commit c6b6f81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
TWINE_USERNAME: __token__
5555
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
5656
run: |
57+
# twin is installed in the venv in "Test release"
58+
. .venv/bin/activate
5759
twine upload --non-interactive dist/trino-${{env.NEXT_VERSION_NUMBER}}-py3-none-any.whl dist/trino-${{env.NEXT_VERSION_NUMBER}}.tar.gz
5860
5961
- name: Finalize release

0 commit comments

Comments
 (0)