Skip to content

Commit 2d55665

Browse files
authored
fix(ci): Homebrew cask ships no shell completions (#102)
1 parent 8bf7dfc commit 2d55665

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@ homebrew_casks:
6868
- flagsmith
6969
generate_completions_from_executable:
7070
executable: flagsmith
71-
args: [completion]
71+
# shell_parameter_format: cobra already passes `completion <shell>`.
7272
shell_parameter_format: cobra
7373
shells: [bash, zsh, fish]
7474
hooks:
75-
post:
75+
# Runs before the completions are generated, which the quarantined
76+
# binary can't survive.
77+
pre:
7678
# Homebrew quarantines what it downloads;
7779
# Unqarantine manually until we start notarising the Mac binaries.
7880
install: |

0 commit comments

Comments
 (0)