1. 更新gitlab-ci流水线配置
This commit is contained in:
parent
d7f70a20a7
commit
a2556f4f03
|
@ -75,17 +75,15 @@ package :
|
|||
- echo "=============== 开始打包任务 ==============="
|
||||
- mvn clean package
|
||||
|
||||
# 发布
|
||||
release_job :
|
||||
stage : release
|
||||
image : registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
tags:
|
||||
- linux-maven
|
||||
rules :
|
||||
- exists:
|
||||
- ./CHANGELOG.md
|
||||
script :
|
||||
stage : release
|
||||
image : registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
tags :
|
||||
- linux-maven
|
||||
script :
|
||||
- echo "running release_job"
|
||||
release : # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
||||
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
||||
tag_name : '$CI_COMMIT_SHA'
|
||||
name : 'Release $CI_COMMIT_SHA'
|
||||
description: './CHANGELOG.md'
|
||||
|
|
Loading…
Reference in New Issue