From 3035b66d236ca728f4e9f2b32e9c019aa80e8995 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Nov 2019 13:54:43 +0100 Subject: [PATCH] chore: adjust pipeline for v-tags --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 025c8aa33..05de2b33b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,7 +86,8 @@ yesod:build:dev: - frontend:build only: - - '${CI_COMMIT_REF_SLUG} !~ /^v[0-9].*/' + variables: + - '${CI_COMMIT_REF_NAME} !~ /^v[0-9].*/' yesod:build: stage: yesod:build @@ -111,7 +112,8 @@ yesod:build: - frontend:build only: - - '${CI_COMMIT_REF_SLUG} =~ /^v[0-9].*/' + variables: + - '${CI_COMMIT_REF_NAME} =~ /^v[0-9].*/' frontend:test: stage: test @@ -147,7 +149,8 @@ hlint:dev: - .stack-work only: - - '${CI_COMMIT_REF_SLUG} !~ /^v[0-9].*/' + variables: + - '${CI_COMMIT_REF_NAME} !~ /^v[0-9].*/' yesod:test:dev: stage: test @@ -169,5 +172,6 @@ yesod:test:dev: - .stack-work only: - - '${CI_COMMIT_REF_SLUG} !~ /^v[0-9].*/' + variables: + - '${CI_COMMIT_REF_NAME} !~ /^v[0-9].*/'