Merge pull request #9136 from cli/wm/fix-pkgmacos-completions

Build completions during release on macos
This commit is contained in:
William Martin 2024-05-29 10:55:51 +02:00 committed by GitHub
commit 3620e791dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]