From 678ef4f43da685ad426a1eb4e19d81e06b3f056c Mon Sep 17 00:00:00 2001 From: "Benguria Elguezabal, Gorka" <gorka.benguria@tecnalia.com> Date: Sun, 12 May 2024 21:24:45 +0200 Subject: [PATCH] adds debug to guest why semantic release is not triggering --- .gitlab-ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22df57b..713fadd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,4 +27,13 @@ variables: semantic-release: rules: # on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED - - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' \ No newline at end of file + - if: '$TMPL_RELEASE_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF' + +semantic-release-test: + stage: publish + image: alpine:latest + script: + - echo "Testing semantic-release configuration" + - echo TMPL_RELEASE_ENABLED=$TMPL_RELEASE_ENABLED + - echo PROD_REF=$PROD_REF + - echo CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME \ No newline at end of file -- GitLab