diff --git a/.goreleaser.yml b/.goreleaser.yml index 309e2ca8fc6..23a8d24727e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,7 +12,7 @@ before: - >- # 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 - >- # We need to create the `.syso` files (per architecture) to embed Windows resources (version info) - {{ if ne .Runtime.Goos "windows" }}echo{{ end }} pwsh .\script\gen-winres.ps1 '{{ .Version }} ({{time "2006-01-02"}})' '{{ .Version }}' .\script\versioninfo.template.json .\cmd\gh\ + {{ if ne .Runtime.Goos "windows" }}echo{{ end }} pwsh '.\script\gen-winres.ps1' '{{ .Version }} ({{time "2006-01-02"}})' '{{ .Version }}' '.\script\versioninfo.template.json' '.\cmd\gh\' builds: - id: macos #build:macos goos: [darwin]