From a80fcd9f0077746706f85d434f4b12527b046d79 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Fri, 21 Aug 2026 15:23:34 +0100 Subject: [PATCH] fix(ci): Homebrew cask ships no shell completions --- .goreleaser.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b271f07..e2f7817 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -68,11 +68,13 @@ homebrew_casks: - flagsmith generate_completions_from_executable: executable: flagsmith - args: [completion] + # shell_parameter_format: cobra already passes `completion `. shell_parameter_format: cobra shells: [bash, zsh, fish] hooks: - post: + # Runs before the completions are generated, which the quarantined + # binary can't survive. + pre: # Homebrew quarantines what it downloads; # Unqarantine manually until we start notarising the Mac binaries. install: |