Skip to content

Commit

Permalink
Pin version of go-releaser to v2 and use --clean
Browse files Browse the repository at this point in the history
--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.
  • Loading branch information
fantapop committed Jun 5, 2024
1 parent 020dfe3 commit 1cd60f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist
version: '~> v2'
args: release --clean
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
# GitHub sets this automatically
Expand Down

0 comments on commit 1cd60f1

Please sign in to comment.