Skip to content

Commit

Permalink
fix(ci): update goreleaser to use --clean flag (notaryproject#964)
Browse files Browse the repository at this point in the history
Fix: replace `--rm-dist` with `--clean`

Goreleaser was updated to v6.0.0 in notaryproject#962. However the flag `--rm-dist` was deprecated in the latest version. Please see the details in the official document: https://goreleaser.com/deprecations/#-rm-dist
Test: the test release was successful

Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao authored Jun 11, 2024
1 parent f8a279c commit 3e9e9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3e9e9e9

Please sign in to comment.