mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-13 11:50:34 +02:00
fix: gofish on windows
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
parent
3e003ac82a
commit
d6724cf624
@ -37,8 +37,8 @@ food = {
|
||||
resources = {
|
||||
{{- range $binary := $element.Binaries }}
|
||||
{
|
||||
path = {{if ne $element.OS "windows"}}"{{ $binary }}"{{else}}"{{ $binary }}.exe"{{end}},
|
||||
installpath = {{if ne $element.OS "windows"}}"bin/{{ $binary }}"{{else}}"bin\\{{ $binary }}.exe"{{end}},
|
||||
path = "{{ $binary }}",
|
||||
installpath = {{if ne $element.OS "windows"}}"bin/{{ $binary }}"{{else}}"bin\\{{ $binary }}"{{end}},
|
||||
{{- if ne $element.OS "windows"}}
|
||||
executable = true
|
||||
{{- end }}
|
||||
|
@ -65,7 +65,7 @@ func createTemplateData() templateData {
|
||||
OS: "windows",
|
||||
DownloadURL: "https://github.com/caarlos0/test/releases/download/v0.1.3/test_windows_amd64.zip",
|
||||
SHA256: "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67",
|
||||
Binaries: []string{"bin1", "bin2", "bin3"},
|
||||
Binaries: []string{"bin1.exe", "bin2.exe", "bin3.exe"},
|
||||
},
|
||||
},
|
||||
Name: "Test",
|
||||
|
Loading…
x
Reference in New Issue
Block a user