We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8d448 commit 1d9a32aCopy full SHA for 1d9a32a
1 file changed
.goreleaser.yaml
@@ -1,3 +1,4 @@
1
+version: 2
2
before:
3
hooks:
4
- go mod tidy
@@ -18,16 +19,16 @@ builds:
18
19
- goos: windows
20
goarch: arm64
21
archives:
- - replacements:
22
- darwin: Darwin
23
- linux: Linux
24
- windows: Windows
25
- 386: i386
26
- amd64: x86_64
+ - name_template: >-
+ {{ .ProjectName }}_{{ .Version }}_
+ {{- .Os | title }}_
+ {{- if eq .Arch "amd64" }}x86_64
+ {{- else if eq .Arch "386" }}i386
27
+ {{- else }}{{ .Arch }}{{ end }}
28
checksum:
29
name_template: 'checksums.txt'
30
snapshot:
- name_template: "{{ incpatch .Version }}-next"
31
+ version_template: "{{ incpatch .Version }}-next"
32
changelog:
33
sort: asc
34
filters:
0 commit comments