Update .gitlab-ci.yml file
This commit is contained in:
parent
1477981207
commit
68d2f2977c
@ -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
|
||||
|
Reference in New Issue
Block a user