chore(gitlab-ci): update workflow rules
This commit is contained in:
parent
1254e95fce
commit
dc14600478
@ -5,9 +5,9 @@
|
|||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
- if: $CI_COMMIT_BRANCH == "test"
|
|
||||||
- if: $CI_MERGE_REQUEST_ID
|
- if: $CI_MERGE_REQUEST_ID
|
||||||
- if: $CI_COMMIT_TAG =~ /^v/
|
- if: $CI_COMMIT_TAG =~ /^v/
|
||||||
|
- if: $CI_COMMIT_TAG =~ /^t/
|
||||||
|
|
||||||
default:
|
default:
|
||||||
image:
|
image:
|
||||||
@ -373,7 +373,7 @@ test release:
|
|||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
rules: *test-release-rules
|
rules: *test-release-rules
|
||||||
script:
|
script:
|
||||||
- echo "Will create test release ${VERSION}..."
|
- echo "Will create test release ${VERSION}-test..."
|
||||||
release:
|
release:
|
||||||
name: "${VERSION}-test"
|
name: "${VERSION}-test"
|
||||||
tag_name: '$CI_COMMIT_TAG'
|
tag_name: '$CI_COMMIT_TAG'
|
||||||
|
|||||||
Reference in New Issue
Block a user