From f4b862afb16244e41a6a311de6a229a89a279f76 Mon Sep 17 00:00:00 2001 From: Dejan Zele Pejchev Date: Tue, 9 May 2023 17:53:54 +0200 Subject: [PATCH] fix: templating for release disable in goreleaser config (#276) --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7b0e1315..35857315 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -91,7 +91,7 @@ sboms: - artifacts: archive release: - disable: "{{ if .Env.FULL_RELEASE }}false{{ else }}true{{ end }}" + disable: '{{ if index .Env "FULL_RELEASE" }}false{{ else }}true{{ end }}' header: | ## Armada Operator v{{ .Version }}