From 0c6b201d5b052bf68c91629d9bb09dd5894cf2eb Mon Sep 17 00:00:00 2001 From: Pavel Zorin Date: Thu, 25 Apr 2024 14:32:46 +0200 Subject: [PATCH] fix ifs --- .buildkite/packaging.pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.buildkite/packaging.pipeline.yml b/.buildkite/packaging.pipeline.yml index c9295b65653..5bc768be599 100644 --- a/.buildkite/packaging.pipeline.yml +++ b/.buildkite/packaging.pipeline.yml @@ -16,7 +16,8 @@ steps: key: dashboards steps: - label: Snapshot dashboards - if: "build.branch =~ /^\\d+\\.\\d+/ || build.branch == 'main'" + if: | + build.branch =~ /^\\d+\\.\\d+/ || build.branch == 'main' || build.env('RUN_SNAPSHOT') == true key: dashboards-snapshot # TODO: container with go and make agents: