From f3f93c6f744721af1caf826b155d3b4b3d1d4f01 Mon Sep 17 00:00:00 2001 From: William Martin Date: Tue, 28 May 2024 19:07:23 +0200 Subject: [PATCH] Build completions during release on macos --- .goreleaser.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e469af09136..a7b293d6e56 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]