From d458a3cc25051cda064ece7d0cf1a1e57b0770b3 Mon Sep 17 00:00:00 2001 From: Philipp Rosenkranz Date: Mon, 8 Apr 2019 11:16:28 +0200 Subject: [PATCH] goreleaser: create only amd64 packages for linux, darwin and windows --- .goreleaser.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 2e82d28..413a612 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,20 +5,22 @@ before: # you may remove this if you don't use vgo - go mod download builds: -- env: - - CGO_ENABLED=0 -- goos: - - windows + - binary: mite + goos: + - linux + - darwin + - windows + goarch: + - amd64 archive: replacements: darwin: Darwin linux: Linux windows: Windows - 386: i386 amd64: x86_64 format_overrides: - - goos: windows - format: zip + - goos: windows + format: zip checksum: name_template: 'checksums.txt' snapshot: @@ -27,5 +29,5 @@ changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - '^docs:' + - '^test:'