Skip to content

Commit df49b82

Browse files
committed
Fix issue with windows builds not generating
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
1 parent 4acfd45 commit df49b82

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.goreleaser.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,25 @@ builds:
7676
- amd64
7777
- 386
7878
archives:
79-
- name_template: >-
79+
- id: cortextool
80+
ids:
81+
- cortextool-darwin
82+
- cortextool-linux
83+
- cortextool-windows
84+
name_template: >-
85+
{{ .Binary }}_{{ .Version }}_{{ if eq .Os "darwin" }}mac-os{{ else }}{{ .Os }}{{ end }}_{{ if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "386" }}i386{{ else }}{{ .Arch }}{{ end }}
86+
format_overrides:
87+
- goos: windows
88+
formats: [zip]
89+
files:
90+
- none*
91+
formats: [binary]
92+
- id: benchtool
93+
ids:
94+
- benchtool-darwin
95+
- benchtool-linux
96+
- benchtool-windows
97+
name_template: >-
8098
{{ .Binary }}_{{ .Version }}_{{ if eq .Os "darwin" }}mac-os{{ else }}{{ .Os }}{{ end }}_{{ if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "386" }}i386{{ else }}{{ .Arch }}{{ end }}
8199
format_overrides:
82100
- goos: windows

0 commit comments

Comments
 (0)