From bd156c82bf25837545fb109c69c7b91c3457b318 Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Fri, 7 Feb 2020 18:21:28 +0900 Subject: [PATCH] Publish binary directly in release page --- .goreleaser.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8e848b39..223b8b88 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,7 +24,14 @@ builds: ldflags: - -s -w -X "main.Version={{ .Version }}" -X "main.GitHash={{ .ShortCommit }}" archives: - - + - id: bin + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + replacements: + #linux: Linux + #amd64: x86_64 + 386: i386 + format: binary + - id: archives name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" replacements: #linux: Linux