Skip to content

Commit 297d05b

Browse files
committed
Fixed deprecation
1 parent 9153244 commit 297d05b

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ builds:
1818
- linux
1919
- windows
2020
archives:
21-
- replacements:
22-
darwin: Darwin
23-
linux: Linux
24-
windows: Windows
25-
386: i386
26-
amd64: x86_64
21+
- id: default
22+
name_template: >-
23+
{{ .ProjectName }}_
24+
{{- title .Os }}_
25+
{{- if eq .Arch "amd64" }}x86_64
26+
{{- else if eq .Arch "386" }}i386
27+
{{- else }}{{ .Arch }}{{ end }}
28+
2729
checksum:
2830
name_template: checksums.txt
2931
snapshot:

0 commit comments

Comments
 (0)