From 68d2f2977cb7433bbc28996eae31b468e18e0950 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 8 Mar 2023 14:01:53 +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 5fd4547..e013214 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: openjdk:17-jdk-slim stages: - build - - release_job + - release before_script: # - echo `pwd` # debug @@ -26,7 +26,7 @@ build: only: - master -release_job: +release: stage: release image: registry.gitlab.com/gitlab-org/release-cli:latest needs: @@ -37,7 +37,7 @@ release_job: 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_job for $TAG" + - echo "running release for $TAG" release: name: 'Release $TAG' description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION and the $TAG