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

Merge branch 'fix_release_on_tagged_commit' into 'main'

Fix release on tagged commit

See merge request !12
parents 9feaf9b1 d4db2b5f
Branches
Tags v2023.6.1
1 merge request!12Fix release on tagged commit
Pipeline #1010813 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