From 1cd60f15d84f10c959a9a1a82253eb3684a4289f Mon Sep 17 00:00:00 2001 From: Christopher Fitzner Date: Wed, 5 Jun 2024 14:46:59 -0700 Subject: [PATCH] Pin version of go-releaser to v2 and use --clean --rm-dist was removed as part of v2. We were previous installing the latest version so this ended up breaking the release. I've pinned the version to v2 and also swapped --rm-dist to be --clean. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc37ddbd..dd9da9ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,8 +42,8 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v3.1.0 with: - version: latest - args: release --rm-dist + version: '~> v2' + args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically