File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,22 @@ release:
2222 discussion_category_name : Announcements
2323
2424archives :
25- - replacements :
26- darwin : macOS
27- linux : Linux
28- amd64 : 64bit
29- arm64 : ARM64
25+ - id : archive
26+ name_template : >-
27+ {{ .ProjectName }}_{{ .Version }}_
28+ {{- if eq .Os "darwin" }}macOS
29+ {{- else if eq .Os "linux" }}Linux
30+ {{- else if eq .Os "openbsd" }}OpenBSD
31+ {{- else if eq .Os "netbsd" }}NetBSD
32+ {{- else if eq .Os "freebsd" }}FreeBSD
33+ {{- else if eq .Os "dragonfly" }}DragonFlyBSD
34+ {{- else}}{{- .Os }}{{ end }}-
35+ {{- if eq .Arch "amd64" }}64bit
36+ {{- else if eq .Arch "386" }}32bit
37+ {{- else if eq .Arch "arm" }}ARM
38+ {{- else if eq .Arch "arm64" }}ARM64
39+ {{- else if eq .Arch "ppc64le" }}PPC64LE
40+ {{- else }}{{ .Arch }}{{ end }}
3041 files :
3142 - README.md
3243 - LICENSE
You can’t perform that action at this time.
0 commit comments