Automate Publishing to PyPI
pypi:
type: deploy
image: python:alpine
variables:
TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD
before_script:
- pip install twine
- python setup.py sdist --formats gztar
script:
- twine upload dist/*
only:
- tags
Edited by Lucas Ramage