feat(ci): improve gorelease config
This commit is contained in:
parent
e3456d34c7
commit
7ec9a9ae2c
2 changed files with 2 additions and 6 deletions
|
|
@ -25,11 +25,7 @@ builds:
|
|||
# archives
|
||||
archives:
|
||||
- formats: ["tar.gz"]
|
||||
name_template: >-
|
||||
{{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{-
|
||||
else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm
|
||||
}}v{{ .Arm }}{{ end }}
|
||||
# use zip for windows archives
|
||||
name_template: "{{.ProjectName}}-v{{.Version}}-{{ .Arch }}"
|
||||
format_overrides:
|
||||
- goos: "windows"
|
||||
formats: ["zip"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue