From 15ad0317fede210ce47ee004a3eff62ffcf739b5 Mon Sep 17 00:00:00 2001 From: iyear Date: Sun, 22 Aug 2021 16:26:00 +0800 Subject: [PATCH] :green_heart: Remove some arches and add darwin support --- .goreleaser.yml | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8d8c66f..ce2dda7 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,16 +6,28 @@ builds: - CGO_ENABLED=0 ldflags: -s -w goos: - - linux - - windows + - linux + - windows + - darwin goarch: - - 386 - - amd64 - - arm - - arm64 + - 386 + - amd64 + - arm + - arm64 goarm: - - 6 - - 7 + - 6 + - 7 + ignore: + - goos: windows + goarch: 386 + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 + - goos: darwin + goarch: arm + - goos: darwin + goarch: 386 checksum: name_template: '{{ .ProjectName }}_checksums.txt' archives: