Skip to content
Snippets Groups Projects
Commit 64aaaed8 authored by Alena Petraki's avatar Alena Petraki :nail_care_tone1:
Browse files

Исправлен запуск пайплайна при Needs_release: false

parent c719caf6
No related branches found
No related tags found
No related merge requests found
Pipeline #51985 failed with stages
in 36 seconds
...@@ -78,11 +78,18 @@ release: ...@@ -78,11 +78,18 @@ release:
stage: release stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest image: registry.gitlab.com/gitlab-org/release-cli:latest
rules: rules:
- if: $CI_PIPELINE_SOURCE == "pipeline" && $NEEDS_RELEASE == "true" - if: $CI_PIPELINE_SOURCE == "pipeline"
- if: $CI_PIPELINE_SOURCE == "web" - if: $CI_PIPELINE_SOURCE == "web"
when: manual when: manual
script: script:
- echo "Start release $VERSION" - echo "Start release $VERSION"
- |
if [ $NEEDS_RELEASE != "true" ]; then
exit 203
fi
allow_failure:
exit_codes:
- 203
release: release:
name: 'Release $VERSION' name: 'Release $VERSION'
description: '$CI_COMMIT_TAG' description: '$CI_COMMIT_TAG'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment