From 4367d014b7ebed1ebbcfa4f97098f63df5095a3b Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 8 Mar 2023 14:05:24 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e013214..f3eb2eb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,9 +37,9 @@ release: when: never # Do not run this job when a tag is created manually - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch script: - - echo "running release for $TAG" + - echo "running release for $CI_COMMIT_TAG" release: - name: 'Release $TAG' + name: 'Release $CI_COMMIT_TAG' description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION and the $TAG - tag_name: '$TAG' # variables must be defined elsewhere + tag_name: '$CI_COMMIT_TAG' # variables must be defined elsewhere ref: '$CI_COMMIT_SHA' # in the pipeline. For example, in the \ No newline at end of file