Skip to content

Commit

Permalink
chore: fix goreleaser option and config to support goreleaser v2 (#118)
Browse files Browse the repository at this point in the history
Fixed the release workflow.

https://github.com/owenrumney/squealer/actions/runs/9871356482/job/27259107572

```
/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser' failed with exit code 1
```
  • Loading branch information
suzuki-shunsuke authored Aug 13, 2024
1 parent ecfe7b0 commit 674fede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod tidy
Expand Down

0 comments on commit 674fede

Please sign in to comment.