From 71d3ea01a5706f8909810aa040c4e0c572feea8f Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 28 Aug 2024 02:50:13 +0200 Subject: [PATCH] ci(gitlab-ci): revise release rules --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 50ca4dc11..4af25d0d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,7 +157,8 @@ backend:prod: release:prepare: stage: release rules: &release-rules - - if: $CI_COMMIT_TAG =~ /^v/ + - if: $CI_COMMIT_TAG =~ /^v[0-9\.]+$/ + - if: $CI_COMMIT_TAG =~ /^v[0-9\.]+-test-.*$/ script: - echo "Preparing release..." # TODO: get tag and pass to following release jobs as artifact