Skip to content
Snippets Groups Projects
Commit 81670b45 authored by Martin Bergemann's avatar Martin Bergemann :speech_balloon:
Browse files

More tikering

parent 8ed32ea7
No related branches found
No related tags found
No related merge requests found
Pipeline #20125 failed
......@@ -40,16 +40,18 @@ release_job:
rules:
- if: $CI_COMMIT_TAG
before_script:
- curl --location --output /usr/local/bin/release-cli "https://release-cli-downloads.s3.amazonaws.com/latest/release-cli-linux-amd64"
- pip install twine
- chmod +x /usr/local/bin/release-cli
script:
- python setup.py sdist
- 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/*
# release:
# tag_name: '$CI_COMMIT_TAG'
# description: '$CI_COMMIT_TAG'
release:
tag_name: '$CI_COMMIT_TAG'
description: '$CI_COMMIT_TAG'
# release_job_2:
# stage: release
......
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