From b12488228f72284ef9f51e81033da4934eadb453 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 19 Jul 2024 13:11:43 +0100 Subject: [PATCH] ci(release): ensure release build works with goreleaser v2 --- .github/workflows/ci.yaml | 2 +- .goreleaser.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ae435e..52da3ff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,7 +41,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: - version: latest + version: "~> v2" # Skip announce and publish, release please will already have handled # that. We just want to build the binaries for use in the docker build # step. diff --git a/.goreleaser.yml b/.goreleaser.yml index 59ca6a3..c107535 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ --- +version: 2 before: hooks: - go mod tidy