Skip to content
Snippets Groups Projects
Commit 7cc7566e authored by Lopez de Guereña Caballero, Jon's avatar Lopez de Guereña Caballero, Jon
Browse files

added regex to check semantic versions x.x.x or x.x

parent afeafd85
Branches
No related tags found
No related merge requests found
......@@ -8,5 +8,7 @@ release:
--milestone $CI_COMMIT_TAG
- export COMMIT_TIME=$(git show -s --format=%ct $CI_COMMIT_SHA)
--released-at $COMMIT_TIME
except:
- branches
only:
- tags && master
\ No newline at end of file
- /^v\d+.\d+.\d|\d+.\d+/
\ No newline at end of file
......@@ -11,7 +11,11 @@ release:
except:
- branches
only:
- tags
- /^v\d+.\d+.\d|\d+.\d+/
# No funciona ===>
# rules:
# - if: $CI_COMMIT_BRANCH == "master" && ('$CI_COMMIT_TAG == /^v\d+.\d+.\d|\d+.\d+/')
# when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment