Skip to content

Commit

Permalink
Update config for release to main PyPi project
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed May 19, 2022
1 parent 44fadfa commit 8d4465e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
mkdir dist
mv wheels/**/*.whl dist
rm -rf wheels
# for initial PyPi upload only
# use this if the versions in the file names need to be changed for PyPi
cd dist
for f in *7.5.3.0*; do [ -f "$f" ] && mv -- "$f" "${f/7.5.3.0/7.5.3}"; done
cd ..
# end for initial PyPi upload only
# END use this if the versions in the file names need to be changed for PyPi
ls dist
# see https://github.com/marketplace/actions/create-release
Expand All @@ -43,7 +43,7 @@ jobs:
with:
verbose: true
user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}
# For releasing to test.pypi.org
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
# password: ${{ secrets.PYPI_TEST_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/

0 comments on commit 8d4465e

Please sign in to comment.