Skip to content

Commit c469ebd

Browse files
committed
fix: barry quick fix, 2025-08-01 18:15:02
1 parent 5aba5ab commit c469ebd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.goreleaser.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ builds:
2727
- amd64
2828
- arm64
2929
archives:
30-
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
31-
format: tar.gz
30+
- format: tar.gz
31+
name_template: >-
32+
{{ .Binary }}-
33+
{{ .Tag }}-
34+
{{- title .Os }}-
35+
{{- if eq .Arch "amd64" }}x86_64
36+
{{- else if eq .Arch "386" }}i386
37+
{{- else }}{{ .Arch }}{{ end }}
38+
{{- if .Arm }}v{{ .Arm }}{{ end }}
39+
format_overrides:
40+
- goos: windows
41+
format: zip
3242
report_sizes: true

0 commit comments

Comments
 (0)