Skip to content
Snippets Groups Projects
Commit f516bc02 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed .gitlab-ci.yml

parent 578444e6
No related branches found
No related tags found
No related merge requests found
Pipeline #7013 passed
...@@ -52,8 +52,8 @@ publish-pip: ...@@ -52,8 +52,8 @@ publish-pip:
script: script:
- pip install build twine - pip install build twine
- PACKAGE_VERSION="${CI_COMMIT_TAG#v}" python -m build - PACKAGE_VERSION="${CI_COMMIT_TAG#v}" python -m build
- TWINE_USERNAME="${GITLABPKGS_USERNAME}" TWINE_PASSWORD=="${GITLABPKGS_PASSWORD}" python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* - TWINE_USERNAME="${GITLABPKGS_USERNAME}" TWINE_PASSWORD="${GITLABPKGS_PASSWORD}" python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- TWINE_USERNAME="${PYPI_USERNAME}" TWINE_PASSWORD=="${PYPI_PASSWORD}" python -m twine upload dist/* - TWINE_USERNAME="${PYPI_USERNAME}" TWINE_PASSWORD="${PYPI_PASSWORD}" python -m twine upload dist/*
rules: rules:
- if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/' - if: '$CI_COMMIT_TAG =~ /v[0-9]+[.][0-9]+[.][0-9]+.*/'
......
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