funpdbe-validator/.gitlab-ci.yml
2021-03-17 05:12:45 +00:00

14 lines
314 B
YAML

image: python:3.8
wheel:
stage: build
script:
- pip install twine
- python setup.py sdist bdist_wheel
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url $PYPI_SERVER dist/*
artifacts:
paths:
- dist/
only:
refs:
- master