follow: Fix CI release type check
This commit is contained in:
parent
85eb40e5b3
commit
e0ba16cdfe
3 changed files with 3 additions and 3 deletions
|
|
@ -221,7 +221,7 @@ update-dependencies:
|
|||
image: curlimages/curl:latest
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/'
|
||||
- if: '$CI_COMMIT_TAG =~ /^rc\d+\.\d+\.\d+$/'
|
||||
- if: '$CI_COMMIT_TAG =~ /^rc\d+\.\d+\.\d+-\d+$/'
|
||||
before_script:
|
||||
- export RELEASE_TYPE=$(echo $CI_COMMIT_TAG | grep -oE "[a-z]+")
|
||||
- export RELEASE_VERSION=$(echo $CI_COMMIT_TAG | grep -oE "\d+\.\d+\.\d+")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue