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

Publish on PyPi

parent 8b5755a8
No related branches found
No related tags found
1 merge request!41Publish on PyPi
Pipeline #155353 passed
......@@ -55,3 +55,22 @@ bump-python-deps:
script:
- devops python-deps requirements.txt
deploy-pypi:
stage: release
image: python:3.10
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
script:
- python setup.py sdist bdist_wheel
- twine upload --repository-url ${TWINE_REPOSITORY_URL} dist/*
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