From 4b5f0fe084e963dcacebae6f826f2ec5ea29c79e Mon Sep 17 00:00:00 2001 From: Keegan Carruthers-Smith Date: Thu, 20 Feb 2020 14:54:20 +0000 Subject: [PATCH] use standard go names in release tarballs also include binaries --- .goreleaser.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e541f18..ca5ed67 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,13 +2,15 @@ builds: - env: - CGO_ENABLED=0 main: ./cmd/docsite + goarch: + - amd64 archives: -- replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 +- id: tarball + format: tar.gz +- id: bin + format: binary + wrap_in_directory: false + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" checksum: name_template: 'checksums.txt' snapshot: