Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 70891dc

Browse files
author
Yevgeny Pats
committed
bugfix in releaser
1 parent d82d598 commit 70891dc

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.goreleaser.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
# This is an example goreleaser.yaml file with some sane defaults.
2-
# Make sure to check the documentation at http://goreleaser.com
31
before:
42
hooks:
5-
# you may remove this if you don't use vgo
63
- go mod download
7-
# you may remove this if you don't need go generate
84
- go generate ./...
95
builds:
106
- env:
@@ -16,13 +12,15 @@ builds:
1612
- linux
1713
- darwin
1814
archives:
19-
- replacements:
20-
darwin: Darwin
21-
linux: Linux
22-
windows: Windows
23-
386: i386
24-
amd64: x86_64
25-
format: binary
15+
-
16+
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
17+
replacements:
18+
darwin: Darwin
19+
linux: Linux
20+
windows: Windows
21+
386: i386
22+
amd64: x86_64
23+
format: binary
2624
checksum:
2725
name_template: 'checksums.txt'
2826
snapshot:
@@ -33,5 +31,3 @@ changelog:
3331
exclude:
3432
- '^docs:'
3533
- '^test:'
36-
release:
37-
name_template: "{{.ProjectName}}_{{Os}}_{{Arch}}"

0 commit comments

Comments
 (0)