Change deploy script to fail on error

This commit is contained in:
Nick Hall 2020-09-16 21:33:39 +01:00
parent 67e2620e7a
commit 7994d01320

View File

@ -140,7 +140,7 @@ jobs:
- stage: deploy - stage: deploy
name: Deploy source distribution and wheel name: Deploy source distribution and wheel
install: skip install: skip
script: python3 setup.py sdist bdist_wheel script:
after_success: | - python3 setup.py sdist bdist_wheel
python3 -m pip install twine - python3 -m pip install twine
python3 -m twine upload --repository testpypi --skip-existing dist/* - python3 -m twine upload --repository testpypi --skip-existing dist/*