diff --git a/.goreleaser.yml b/.goreleaser.yml index e469af091..a7b293d6e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,11 +7,10 @@ release: before: hooks: - - >- + - >- # The linux and windows archives package the manpages below {{ if eq .Runtime.Goos "windows" }}echo{{ end }} make manpages GH_VERSION={{.Version}} - - >- - {{ if ne .Runtime.Goos "linux" }}echo{{ end }} make completions - + - >- # On linux the completions are used in nfpms below, but on macos they are used outside in the deployment build. + {{ if eq .Runtime.Goos "windows" }}echo{{ end }} make completions builds: - id: macos #build:macos goos: [darwin]