Skip to content

Commit eab0622

Browse files
committed
Adds binary specific archives
Signed-off-by: Anshul Gupta <[email protected]>
1 parent 9b541c8 commit eab0622

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

.goreleaser.yaml

+28-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,34 @@ builds:
2626
- windows
2727
- darwin
2828
archives:
29-
- replacements:
29+
- id: default
30+
replacements:
31+
darwin: Darwin
32+
linux: Linux
33+
windows: Windows
34+
386: i386
35+
amd64: x86_64
36+
format_overrides:
37+
- goos: windows
38+
format: zip
39+
- id: worker
40+
builds:
41+
- go_encoder_worker
42+
name_template: '{{ .ProjectName }}_worker_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
43+
replacements:
44+
darwin: Darwin
45+
linux: Linux
46+
windows: Windows
47+
386: i386
48+
amd64: x86_64
49+
format_overrides:
50+
- goos: windows
51+
format: zip
52+
- id: manager
53+
builds:
54+
- go_encoder_manager
55+
name_template: '{{ .ProjectName }}_manager_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
56+
replacements:
3057
darwin: Darwin
3158
linux: Linux
3259
windows: Windows

0 commit comments

Comments
 (0)