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
name: Deploy source distribution and wheel
install: skip
script: python3 setup.py sdist bdist_wheel
after_success: |
python3 -m pip install twine
python3 -m twine upload --repository testpypi --skip-existing dist/*
script:
- python3 setup.py sdist bdist_wheel
- python3 -m pip install twine
- python3 -m twine upload --repository testpypi --skip-existing dist/*