update
This commit is contained in:
@@ -71,22 +71,8 @@ publish:
|
|||||||
- job: version
|
- job: version
|
||||||
artifacts: true
|
artifacts: true
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/'
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' && $OCTO_PROJECT_NAME
|
||||||
exists:
|
exists:
|
||||||
- $OCTO_PROJECT_NAME
|
- ".octopus/*"
|
||||||
- when: never
|
- when: never
|
||||||
|
|
||||||
publish:
|
|
||||||
extends: .octo_release
|
|
||||||
stage: publish
|
|
||||||
needs:
|
|
||||||
- job: version
|
|
||||||
artifacts: true
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_BRANCH =~ '/^release/'
|
|
||||||
exists:
|
|
||||||
- $OCTO_PROJECT_NAME
|
|
||||||
- if: $CI_COMMIT_BRANCH =~ 'main'
|
|
||||||
exists:
|
|
||||||
- $OCTO_PROJECT_NAME
|
|
||||||
- when: never
|
|
||||||
|
|||||||
Reference in New Issue
Block a user