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