From 7e1281deea834fb736d62330dd2e0fda8c2150e3 Mon Sep 17 00:00:00 2001 From: Erik Currin Date: Fri, 18 Sep 2026 14:02:18 -0400 Subject: [PATCH] fix(ci): restore missing build_type check in release pipeline The outer `if [[ "$BUILD_TYPE" == "release" ]]` guard was accidentally dropped in #503, leaving the branch pattern check unconditional. Any Snapshot build triggered from main would hit the N.N branch guard and exit 1 with a misleading "Release builds require an N.N branch" error. Co-Authored-By: Claude Sonnet 4.6 --- .buildkite/release-pipeline.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/release-pipeline.yml b/.buildkite/release-pipeline.yml index 38db4c27..03d83533 100644 --- a/.buildkite/release-pipeline.yml +++ b/.buildkite/release-pipeline.yml @@ -42,6 +42,7 @@ steps: - label: ":shield: Resolve build type" command: | BUILD_TYPE=$$(buildkite-agent meta-data get build_type) + if [[ "$$BUILD_TYPE" == "release" ]]; then if [[ ! "$$BUILDKITE_BRANCH" =~ ^[0-9]+\.[0-9]+$$ ]]; then echo "ERROR: Release builds require an N.N branch (for example, 1.0)." exit 1