Skip to content

Commit acf2ee0

Browse files
committed
change to binaries and uname values
1 parent 13348bc commit acf2ee0

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.goreleaser.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Make sure to check the documentation at http://goreleaser.com
21
before:
32
hooks:
43
# You may remove this if you don't use go modules.
@@ -13,12 +12,22 @@ builds:
1312
- windows
1413
- darwin
1514

15+
checksum:
16+
name_template: "{{ .ProjectName }}_checksums.txt"
17+
1618
archives:
17-
- format_overrides:
18-
- goos: windows
19-
format: zip
19+
# Distribute just the binaries by default
20+
- format: binary
21+
replacements:
22+
darwin: Darwin
23+
linux: Linux
24+
windows: Windows
25+
386: i386
26+
amd64: x86_64
27+
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
28+
2029
snapshot:
21-
name_template: "{{ incpatch .Version }}-dev"
30+
name_template: "{{ incpatch .Version }}-next"
2231
changelog:
2332
sort: asc
2433
filters:

0 commit comments

Comments
 (0)