diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8f5d39cc..9571282d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,8 +41,9 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v6.0.0 with: - version: latest - args: release --rm-dist + version: "~> v2" + args: release --clean + distribution: goreleaser env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically diff --git a/.goreleaser.yml b/.goreleaser.yml index 9bb0aa711..28ec83a7c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # 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 +58,4 @@ release: # If you want to manually examine the release before its live, uncomment this line: # draft: true changelog: - skip: true + disable: true