Skip to content

Commit 5ed3b68

Browse files
authored
Merge pull request #508 from stakater/update-goreleaser
Update goreleaser
2 parents 7ba36f7 + 12488a8 commit 5ed3b68

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.goreleaser.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ before:
44
- go mod download
55
- go generate ./...
66
builds:
7-
- env:
8-
- CGO_ENABLED=0
9-
goos:
10-
- linux
11-
- windows
12-
- darwin
7+
- env:
8+
- CGO_ENABLED=0
9+
goos:
10+
- windows
11+
- darwin
12+
- linux
13+
goarch:
14+
- 386
15+
- amd64
16+
- arm
17+
- arm64
1318
archives:
14-
- replacements:
15-
darwin: Darwin
16-
linux: Linux
17-
windows: Windows
18-
386: i386
19-
amd64: x86_64
20-
checksum:
21-
name_template: 'checksums.txt'
19+
- name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
2220
snapshot:
2321
name_template: "{{ .Tag }}-next"
22+
checksum:
23+
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
2424
changelog:
2525
sort: asc
2626
filters:
2727
exclude:
28-
- '^docs:'
29-
- '^test:'
28+
- '^docs:'
29+
- '^test:'

0 commit comments

Comments
 (0)