1. 更新gitlab-ci流水线配置
This commit is contained in:
parent
dbec3b91e4
commit
be5f781a7a
|
@ -34,8 +34,11 @@ release_job:
|
||||||
- linux-maven
|
- linux-maven
|
||||||
rules :
|
rules :
|
||||||
- if : $CI_COMMIT_TAG # Run this job when a tag is created
|
- if : $CI_COMMIT_TAG # Run this job when a tag is created
|
||||||
|
when: never
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
|
||||||
script :
|
script :
|
||||||
- echo "running release_job"
|
- 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_TAG'
|
tag_name : '$CI_COMMIT_TAG'
|
||||||
description: '$CI_COMMIT_TAG'
|
name : 'Release $CI_COMMIT_TAG'
|
||||||
|
description: './CHANGELOG.md'
|
Loading…
Reference in New Issue