From 6cbd4d4cf75165fbb190c26e5cc19d4667748ef4 Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Fri, 27 Sep 2024 14:41:15 +0200 Subject: [PATCH] CI - Add release on GitLab --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 907773c..73d9761 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,6 +74,21 @@ tickets: tags: - factory-plain +gitlab_release: + stage: release + rules: + - if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/' + # Running only when the tag is like X.Y.Z + when: always + - when: never + image: + name: $REGISTRY_URI/infra/ci-tools:latest + script: + - gitlab_release + tags: + - factory-plain + + monthly-release: stage: test rules: