diff --git a/.goreleaser.yml b/.goreleaser.yml index bd5b2f4d..5021245c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,26 +4,26 @@ before: - go mod download - go generate ./... builds: - - env: - - CGO_ENABLED=0 - goos: - - linux - - windows - - darwin +- env: + - CGO_ENABLED=0 + goos: + - windows + - darwin + - linux + goarch: + - 386 + - amd64 + - arm + - arm64 archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 -checksum: - name_template: 'checksums.txt' +- name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" snapshot: name_template: "{{ .Tag }}-next" +checksum: + name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - '^docs:' + - '^test:'