Update .gitlab-ci.yml file
This commit is contained in:
parent
50a27deca8
commit
ab2a03ba0b
1 changed files with 2 additions and 2 deletions
|
|
@ -56,9 +56,9 @@ release_job:
|
||||||
- job: build_job
|
- job: build_job
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
when: manual
|
when: on_success
|
||||||
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_PROTECTED
|
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_PROTECTED
|
||||||
when: manual
|
when: on_success
|
||||||
release:
|
release:
|
||||||
tag_name: 'v0.$CI_PIPELINE_IID'
|
tag_name: 'v0.$CI_PIPELINE_IID'
|
||||||
description: 'v0.$CI_PIPELINE_IID create by pipeline'
|
description: 'v0.$CI_PIPELINE_IID create by pipeline'
|
||||||
|
|
|
||||||
Reference in a new issue