Skip to content
Snippets Groups Projects
Commit d4db2b5f authored by Tobias Hangleiter's avatar Tobias Hangleiter
Browse files

Explicitly pass user and password as arguments

parent 9feaf9b1
No related branches found
No related tags found
1 merge request!12Fix release on tagged commit
Pipeline #1010810 waiting for manual action
# we use the oldest compatible version
image: python:3.9-slim
image: python:3.8-slim
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
......@@ -45,7 +45,7 @@ pypi:
artifacts: true
script:
- pip install -U twine
- twine upload dist/*
- twine upload -u "$TWINE_USERNAME" -p "$TWINE_PASSWORD" dist/*
rules:
- if: '$CI_COMMIT_TAG =~ /^v\d{4}\.\d{1,2}\.\d{1,2}$/'
# Always publish tagged commits matching CalVer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment