Commit 227267b9 authored by Christophe Benz's avatar Christophe Benz

Configure CI/CD to upload Python package on PyPI

parent 2593fedb
upload_to_pypi:
image: pypi/twine:latest
stage: deploy
only:
- tags
tags:
- dbnomics-python-client
before_script:
- python setup.py sdist bdist_wheel
variables:
TWINE_USERNAME: cbenz
# TWINE_PASSWORD: # Secret variable, see project CI settings.
script:
- twine upload dist/*
environment:
name: PyPI
url: https://pypi.org/project/dbnomics-python-client/$CI_COMMIT_TAG
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment