Quote Windows rsyso script global hook
This commit is contained in:
parent
c93136b5f0
commit
c82f02b5bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue