From 9fff187467f8e5a47ecd6274d2c4b3d8fd1f4df7 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 16 Apr 2025 12:57:00 -0400 Subject: [PATCH] v4.0 --- .goreleaser.yaml | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 786089e..e6e61f6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: