Skip to content

Commit

Permalink
Replace deprecated --rm-dist flag with --clean
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Sep 11, 2023
1 parent e86ba86 commit 872d494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }}
args: release --clean ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }}
env:
LDFLAGS: ${{ steps.release-vars.outputs.ldflags }}
GIT_HASH: ${{ steps.release-vars.outputs.git_hash }}
Expand Down

0 comments on commit 872d494

Please sign in to comment.