From bfac07d2ddd8e8ee95902e809d54ec3ac39677d7 Mon Sep 17 00:00:00 2001 From: Thomas Lambert <t.lambert@uliege.be> Date: Fri, 25 Nov 2022 22:22:33 +0100 Subject: [PATCH] ci: fix issue in config Signed-off-by: Thomas Lambert <t.lambert@uliege.be> --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8098fa..8577261 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,7 @@ release_job: stage: release image: registry.gitlab.com/gitlab-org/release-cli:latest rules: - - if: $CI_COMMIT_TAG # Run this job when a tag is created - only: - - master # Only if tag is on main + - if: '$CI_COMMIT_REF_NAME == "master" && $CI_COMMIT_TAG' script: - echo "running release_job" release: -- GitLab