chore(gitlab-ci): update workflow rules

This commit is contained in:
Sarah Vaupel 2023-07-15 12:16:06 +00:00
parent 1254e95fce
commit dc14600478

View File

@ -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'