Skip to content

Commit 674fede

Browse files
chore: fix goreleaser option and config to support goreleaser v2 (#118)
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 ```
1 parent ecfe7b0 commit 674fede

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
uses: goreleaser/goreleaser-action@v2
2929
with:
3030
version: latest
31-
args: release --rm-dist
31+
args: release --clean
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- go mod tidy

0 commit comments

Comments
 (0)