Skip to content

Commit a98f2e3

Browse files
committed
fix: replace twine env variables with uv versions
1 parent f513255 commit a98f2e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

{{cookiecutter.project_name}}/.github/workflows/release-python.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ jobs:
7070

7171
- name: Publish to TestPyPI
7272
env:
73-
TWINE_USERNAME: __token__
74-
TWINE_PASSWORD: {{"${{ secrets.TESTPYPI_API_TOKEN }}"}}
73+
UV_PUBLISH_TOKEN: {{"${{ secrets.TESTPYPI_API_TOKEN }}"}}
7574
run: uvx nox -s publish-python -- --index testpypi
7675

7776
publish_pypi_and_github:
@@ -104,8 +103,7 @@ jobs:
104103
105104
- name: Publish to PyPI
106105
env:
107-
TWINE_USERNAME: __token__
108-
TWINE_PASSWORD: {{ "${{ secrets.PYPI_API_TOKEN }}" }}
106+
UV_PUBLISH_TOKEN: {{ "${{ secrets.PYPI_API_TOKEN }}" }}
109107
run: uvx nox -s publish-python
110108

111109
- name: Publish to GitHub

0 commit comments

Comments
 (0)