Skip to content

Commit 8d4465e

Browse files
committed
Update config for release to main PyPi project
1 parent 44fadfa commit 8d4465e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
mkdir dist
2424
mv wheels/**/*.whl dist
2525
rm -rf wheels
26-
# for initial PyPi upload only
26+
# use this if the versions in the file names need to be changed for PyPi
2727
cd dist
2828
for f in *7.5.3.0*; do [ -f "$f" ] && mv -- "$f" "${f/7.5.3.0/7.5.3}"; done
2929
cd ..
30-
# end for initial PyPi upload only
30+
# END use this if the versions in the file names need to be changed for PyPi
3131
ls dist
3232
3333
# see https://github.com/marketplace/actions/create-release
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
verbose: true
4545
user: __token__
46-
# password: ${{ secrets.PYPI_API_TOKEN }}
46+
password: ${{ secrets.PYPI_API_TOKEN }}
4747
# For releasing to test.pypi.org
48-
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
49-
repository_url: https://test.pypi.org/legacy/
48+
# password: ${{ secrets.PYPI_TEST_API_TOKEN }}
49+
# repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)