Merge branch 'upload-to-pypi' into 'master'

Add deploying to PyPI when a tag is created

See merge request openlp/openlp!173
This commit is contained in:
Tomas Groth 2020-04-24 10:56:12 +00:00
commit b85245465e

View File

@ -70,6 +70,15 @@ test-display:
- yarn install
- yarn test --browsers ChromiumHeadlessCI
upload-pypi:
stage: deploy
image: openlp/debian
script:
- python3 setup.py sdist bdist_wheel
- twine upload dist/*
only:
- tags
pages:
stage: deploy
image: openlp/debian