From 9abfe8ae8e7130fd94ac6370fbf79ef74004f4d7 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 9 Aug 2024 15:31:38 +0100 Subject: [PATCH 1/2] this only builds on linux --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1966964..63ed6ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,7 @@ jobs: with: version: latest args: release --clean + goos: ["linux"] env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically From d30d9356d17054d433435d46cb1e0b17aeb264bd Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 9 Aug 2024 15:36:38 +0100 Subject: [PATCH 2/2] fixup! this only builds on linux --- .github/workflows/release.yml | 1 - .goreleaser.yml | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63ed6ea..1966964 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,6 @@ jobs: with: version: latest args: release --clean - goos: ["linux"] env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically diff --git a/.goreleaser.yml b/.goreleaser.yml index 150ddfa..8efdc42 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,13 +17,9 @@ builds: ldflags: - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}' goos: - - freebsd - - windows - linux - - darwin goarch: - amd64 - - '386' - arm - arm64 ignore: