fix releaser

This commit is contained in:
2025-11-05 19:59:54 +01:00
parent 581956c8ec
commit 2e3986f227

View File

@@ -15,13 +15,11 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
archives:
- formats: [tar.gz]
# this name template makes the OS and Arch compatible with the results of `uname`.
- formats: [tar.binary]
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
@@ -29,19 +27,6 @@ archives:
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}_{{ .Tag }}
# use zip for windows archives
format_overrides:
- goos: windows
formats: [zip]
- goos: linux
formats: [tar.gz,binary]
files:
- src: "*.md"
strip_parent: true
- src: "docs/*"
strip_parent: true
- src: Makefile.dist
dst: Makefile
wrap_in_directory: true
changelog: