Unverified Commit a293d4de authored by Duncan Macleod's avatar Duncan Macleod
Browse files

ci: upload wheel and tarball to PyPI

closes #250
parent 6f0eddcc
Pipeline #473745 failed with stages
in 11 minutes and 48 seconds
......@@ -244,15 +244,20 @@ build-container:
deploy_release:
stage: deploy
image: $PRIMARY_IMAGE
image: python
# needs: ["lookup-tables"]
variables:
TWINE_USERNAME: $PYPI_USERNAME
TWINE_PASSWORD: $PYPI_PASSWORD
before_script:
- pip install twine setuptools_scm
- python setup.py sdist
- python -m pip install
build
twine
script:
- twine upload dist/*
# generate distributions
- python -m build
- ls dist/
# upload them
- python -m twine upload dist/*
only:
- tags
Supports Markdown
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