re-enable pypi uploads

temporarily tagging this as 2.1.25, since these CI changes are required
for PyPi, and the packaged versions were made a few revisions back
This commit is contained in:
Damien Elmes 2020-05-01 19:04:05 +10:00
parent b51ca01dcb
commit 6046bbc779

View file

@ -357,7 +357,7 @@ jobs:
path: dist path: dist
- name: Upload to PyPi Windows - name: Upload to PyPi Windows
if: matrix.BUILD_TYPE == 'disabled' && startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest' if: matrix.BUILD_TYPE == 'build' && startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest'
shell: cmd shell: cmd
env: env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
@ -375,7 +375,7 @@ jobs:
python -m twine upload --non-interactive --skip-existing --verbose ./* python -m twine upload --non-interactive --skip-existing --verbose ./*
- name: Upload to PyPi Linux/Mac OS - name: Upload to PyPi Linux/Mac OS
if: matrix.BUILD_TYPE == 'disabled' && startsWith(github.ref, 'refs/tags/') && ( matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' ) if: matrix.BUILD_TYPE == 'build' && startsWith(github.ref, 'refs/tags/') && ( matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' )
env: env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__