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

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

parent 8cee81a6
No related branches found
No related tags found
No related merge requests found
......@@ -108,11 +108,18 @@ release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_PIPELINE_SOURCE == "pipeline" && $NEEDS_RELEASE == "true"
- if: $CI_PIPELINE_SOURCE == "pipeline"
- if: $CI_PIPELINE_SOURCE == "web"
when: manual
script:
- echo "Start release $VERSION"
- |
if [ $NEEDS_RELEASE != "true" ]; then
exit 203
fi
allow_failure:
exit_codes:
- 203
release:
name: 'Release $VERSION'
description: '$VERSION'
......
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