From 44a64e53d63f52cf995277fad5b5dc342ccc7601 Mon Sep 17 00:00:00 2001 From: Philippe Ruiz <philippe.ruiz@inrae.fr> Date: Wed, 29 Jan 2025 13:03:06 +0100 Subject: [PATCH] update .gitlab-ci.yml escape character while parsing a quoted scalar --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67199be0..7e577689 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ build_docs: image: python:3.8.10-slim rules: - - if: "$CI_COMMIT_BRANCH =~ /^(master|devel)$/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/" + - if: "$CI_COMMIT_BRANCH =~ /^(master|devel)$/ || $CI_COMMIT_TAG =~ /^v\d+.\d+.\d+$/" when: always variables: # Override IMAGE_LABEL defined IMAGE_LABEL: "${CI_COMMIT_BRANCH}_${CI_COMMIT_SHORT_SHA}" # at the job level. -- GitLab