From 35114d30796d34ae126cbe8600412d66cdcf69f2 Mon Sep 17 00:00:00 2001 From: Ivan De Marino Date: Thu, 31 Oct 2024 19:01:00 +0000 Subject: [PATCH] Fix goreleaser configuration for v2 --- .github/workflows/release.yml | 3 ++- .goreleaser.yml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8319180..dff722a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,8 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: latest + distribution: goreleaser + version: '2.3.2' args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 9bb0aa7..ade33b6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,5 @@ -# Visit https://goreleaser.com for documentation on how to customize this -# behavior. +# Visit https://goreleaser.com for documentation on how to customize this behavior. +version: 2 before: hooks: # this is just an example and not a requirement for provider building/publishing @@ -57,4 +57,4 @@ release: # If you want to manually examine the release before its live, uncomment this line: # draft: true changelog: - skip: true + disable: true