From acdd6ee6bf18d1587003196e17008094e9bdbe28 Mon Sep 17 00:00:00 2001 From: Marcus Young Date: Thu, 25 Aug 2022 10:39:04 -0500 Subject: [PATCH] fix goreleaser to be linux only --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .goreleaser.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7ee1eb..22879e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,6 @@ jobs: with: distribution: goreleaser version: latest - args: release --rm-dist + args: release -f .goreleaser.yml --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..31219a9 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,12 @@ +builds: + - ldflags: + - -s -w + env: + - GODEBUG=cgocheck=0 + goarch: + - 386 + - amd64 + - arm + - arm64 + goos: + - linux