This commit is contained in:
Matt
2025-04-16 12:57:00 -04:00
parent ecfc6f59e5
commit 9fff187467
+16 -18
View File
@@ -19,25 +19,23 @@ builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- "darwin"
- "linux"
- "windows"
goarch:
- "amd64"
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
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
format_overrides:
- goos: windows
format: zip
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format: binary
files:
- LICENSE.txt
- README.md
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
source:
enabled: false
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters: