From b43e3506a74e9de8fc3642e63f2e1ae98ba779ad Mon Sep 17 00:00:00 2001 From: Nikolay Pavlovich Date: Fri, 6 Mar 2020 14:44:10 +0300 Subject: [PATCH] Update .goreleaser.yml --- .goreleaser.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c1b06d7..88a8cfd 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,8 +20,11 @@ builds: main: ./ ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} +checksum: + name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt' + archives: - - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' format_overrides: - goos: windows format: zip