Skip to content

Commit c3f05b3

Browse files
committed
fix goreleaser warnings
1 parent f74cece commit c3f05b3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ random_data_load*
22
vendor/
33
bin/*
44
dist/*
5+
6+
dist/

.goreleaser.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ builds:
1010
- env:
1111
- CGO_ENABLED=0
1212
archives:
13-
- replacements:
14-
darwin: Darwin
15-
linux: Linux
16-
windows: Windows
17-
386: i386
18-
amd64: x86_64
13+
- name_template: >-
14+
{{ .ProjectName }}_
15+
{{- title .Os }}_
16+
{{- if eq .Arch "amd64" }}x86_64
17+
{{- else if eq .Arch "386" }}i386
18+
{{- else }}{{ .Arch }}{{ end }}
1919
checksum:
2020
name_template: 'checksums.txt'
2121
snapshot:

0 commit comments

Comments
 (0)