Skip to content

Commit

Permalink
Fixing build breaking in v.25 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindhu-ranga authored Feb 6, 2025
1 parent 9b254c3 commit 6b0bd37
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/build-and-deploy-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,30 @@ jobs:
- name: Check distribution
run: twine check dist/*

- name: Set up .pypirc
run: |
cat <<EOF > ~/.pypirc
[distutils]
index-servers =
pypi
placekey
testpypi
[pypi]
username = __token__
password = ${{ secrets.PYPI_API_TOKEN }}
[placekey]
repository = https://upload.pypi.org/legacy/
username = __token__
password = ${{ secrets.PYPI_API_TOKEN }}
[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = ${{ secrets.TEST_PYPI_API_TOKEN }}
EOF
- name: Upload to TestPyPI
env:
Expand All @@ -46,4 +70,4 @@ jobs:
env:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN}}
run: |
twine upload dist/*
twine upload pypi dist/*
2 changes: 1 addition & 1 deletion placekey/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.25'
__version__ = '0.0.26'

0 comments on commit 6b0bd37

Please sign in to comment.