Skip to content

Commit

Permalink
Handle update to goreleaser v2 (#86)
Browse files Browse the repository at this point in the history
We were previously stating `version: latest` in the goreleaser-action
step and thus were bumped to v2 of goreleaser itself. v2 dropped
`--rm-dist`, now named `--clean`. I opted to handle the update now while
its nice and easy instead of later when it would likely be more of a
pain.
  • Loading branch information
mmlb authored Jun 14, 2024
2 parents ed1722c + 48c15bb commit 452ef8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COSIGN_EXPERIMENTAL: 1
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
project_name: vogelkop
version: 2
before:
hooks:
- go mod download
Expand Down

0 comments on commit 452ef8e

Please sign in to comment.