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