Skip to content
Snippets Groups Projects
Commit 6e47580a authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Publish on pypi

parent df822713
No related branches found
No related tags found
1 merge request!7Publish on pypi
Pipeline #155382 passed
......@@ -186,14 +186,9 @@ deploy-pypi:
only:
- tags
variables:
TWINE_USERNAME: gitlab-ci-token
TWINE_PASSWORD: ${CI_JOB_TOKEN}
TWINE_REPOSITORY_URL: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
before_script:
- pip install twine build
- pip install twine
script:
- python setup.py sdist bdist_wheel
- twine upload --repository-url ${TWINE_REPOSITORY_URL} dist/*
- twine upload dist/* -r pypi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment