From ecd81f7e94dd4e75373f9ff74bd2a777263c96b9 Mon Sep 17 00:00:00 2001 From: Lluis Campos Date: Fri, 13 Dec 2024 09:53:17 +0100 Subject: [PATCH] ci: Run `publish:versions` only on final tags The release candidate tags will end up in no versions update and failing the job, so let's save some CI time there. Anyway, we have an additional manual job to trigger the update on demand. Signed-off-by: Lluis Campos --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3737f2c17..17c3e31cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -110,7 +110,7 @@ publish:versions:tags: rules: - if: $CI_PIPELINE_SOURCE == "schedule" when: never - - if: $CI_COMMIT_TAG + - if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/' extends: .publish:versions publish:versions:manual: