From c6459b1e0fed2f7a2784280a88c43ccdc8e1a930 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 4 Aug 2021 11:37:01 +0100 Subject: [PATCH] Make spec release builds conditional --- .buildkite/pipeline.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 590fa14f3a7..6350bc85ff8 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -44,6 +44,8 @@ steps: image: alpine - label: ":rocket: Release the spec" + # Only execute this step on tags matching "vX.Y" + if: build.tag =~ /^v\d+\.\d+$/ command: - *hugo_build_environment_setup # Generate a stable version of the spec