From 5952d13ece00596fe5918b8b4151eab8e02bca04 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 27 Oct 2026 12:44:15 -0500 Subject: [PATCH] fix: use a plain .Env reference for the tap and bucket tokens GoReleaser only accepts {{ .Env.VAR_NAME }} for repository tokens, so the conditional template made the Homebrew cask and Scoop manifest steps fail after the GitHub release had been created. --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ad6457c..569333f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -145,7 +145,7 @@ homebrew_casks: repository: owner: rackerlabs name: homebrew-tap - token: "{{ if index .Env \"HOMEBREW_TAP_TOKEN\" }}{{ .Env.HOMEBREW_TAP_TOKEN }}{{ end }}" + token: "{{ .Env.HOMEBREW_TAP_TOKEN }}" homepage: https://github.com/rackerlabs/understackctl description: CLI tool for managing UnderStack deployments license: apache-2.0 @@ -164,7 +164,7 @@ scoops: repository: owner: rackerlabs name: scoop-bucket - token: "{{ if index .Env \"SCOOP_BUCKET_TOKEN\" }}{{ .Env.SCOOP_BUCKET_TOKEN }}{{ end }}" + token: "{{ .Env.SCOOP_BUCKET_TOKEN }}" homepage: https://github.com/rackerlabs/understackctl description: CLI tool for managing UnderStack deployments license: Apache-2.0