Skip to content

Commit 2be0760

Browse files
committed
Update GoReleaser config
1 parent 4417553 commit 2be0760

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.goreleaser.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ builds:
9595
# format_overrides:
9696
# - goos: windows
9797
# format: zip
98-
# name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
98+
# name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}{{ if .Arm }}v{{ .Arm }}{{ end }}"
9999
# replacements:
100100
# amd64: 64bit
101101
# 386: 32bit
@@ -112,21 +112,11 @@ builds:
112112
# - README.md
113113
# - LICENSE.md
114114
archives:
115+
- id: packaging
116+
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}{{ if .Arm }}v{{ .Arm }}{{ end }}"
115117
- format_overrides:
116118
- goos: windows
117119
format: zip
118-
replacements:
119-
amd64: 64bit
120-
386: 32bit
121-
arm: ARM
122-
arm64: ARM64
123-
darwin: macOS
124-
linux: Linux
125-
windows: Windows
126-
openbsd: OpenBSD
127-
netbsd: NetBSD
128-
freebsd: FreeBSD
129-
dragonfly: DragonFlyBSD
130120
checksum:
131121
name_template: 'checksums.txt'
132122
changelog:

0 commit comments

Comments
 (0)