Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
python-version: '3.12'

- name: Install Hatch
run: pip install hatch
run: pip install hatch twine

- name: Install dependencies
run: hatch env create dev
Expand Down Expand Up @@ -64,16 +64,16 @@ jobs:
# - name: Publish to PyPI
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
# TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
# run: twine upload dist/*

# - name: Publish to Test PyPI
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
# run: |
# pip install twine
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- name: Publish to Test PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
run: |
pip install twine
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

- name: Get new version
if: steps.bump.outputs.bump == 'true'
Expand Down