Commit 5b423f20 authored by Michael Wheeler's avatar Michael Wheeler
Browse files

Merge branch 'add-package-publishing' into 'main'

Add package publishing

See merge request !5
parents bf6cfc11 11ff7f5e
Pipeline #86652 passed with stages
in 3 minutes and 44 seconds
......@@ -3,6 +3,7 @@ image: python:latest
stages:
- test
- build
- deploy
quality:
stage: test
......@@ -20,3 +21,11 @@ build:
expire_in: 1 week
paths:
- dist/
publish:
stage: deploy
script:
- pip install twine
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
rules:
- if: $CI_COMMIT_TAG
__version__ = "0.0.0"
__version__ = "0.1.0"
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