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