Skip to content

Commit

Permalink
Merge pull request #9136 from cli/wm/fix-pkgmacos-completions
Browse files Browse the repository at this point in the history
Build completions during release on macos
  • Loading branch information
williammartin committed May 29, 2024
2 parents f1dedc9 + f3f93c6 commit 3620e79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3620e79

Please sign in to comment.