File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
# This is an example .goreleaser.yml file with some sensible defaults.
2
2
# Make sure to check the documentation at https://goreleaser.com
3
+ version : 2
3
4
before :
4
5
hooks :
5
6
# You may remove this if you don't use go modules.
@@ -17,16 +18,17 @@ archives:
17
18
- files :
18
19
- README.md
19
20
- LICENSE
20
- replacements :
21
- darwin : Darwin
22
- linux : Linux
23
- windows : Windows
24
- 386 : i386
25
- amd64 : x86_64
21
+ name_template : >-
22
+ {{- .ProjectName }}_
23
+ {{- title .Os }}_
24
+ {{- if eq .Arch "amd64" }}x86_64
25
+ {{- else if eq .Arch "386" }}i386
26
+ {{- else }}{{ .Arch }}{{ end }}
27
+ {{- if .Arm }}v{{ .Arm }}{{ end -}}
26
28
checksum :
27
29
name_template : ' checksums.txt'
28
30
snapshot :
29
- name_template : " {{ incpatch .Version }}-next"
31
+ version_template : " {{ incpatch .Version }}-next"
30
32
changelog :
31
33
sort : asc
32
34
filters :
You can’t perform that action at this time.
0 commit comments