From ce06fd8ef6940b232d190b1228be97fff56724f1 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 22 Oct 2024 10:33:23 +0200 Subject: [PATCH] fix: handle tag builds --- Release.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release.gitlab-ci.yml b/Release.gitlab-ci.yml index 89068f3..4db891e 100644 --- a/Release.gitlab-ci.yml +++ b/Release.gitlab-ci.yml @@ -158,7 +158,7 @@ unbound_release_prepare_release: rules: - if: $UNBOUND_RELEASE_TOKEN == null when: never - - if: $CI_DEFAULT_BRANCH != $CI_COMMIT_BRANCH + - if: $CI_COMMIT_TAG == null && $CI_DEFAULT_BRANCH != $CI_COMMIT_BRANCH when: never - if: '$CI_COMMIT_TITLE =~ /^chore\(release\): prepare for .*$/' - if: $CI_COMMIT_TAG && $UNBOUND_RELEASE_TAG_ONLY == "true"