From 9cf5a6a871e9545ee577285e7c26b5214102e205 Mon Sep 17 00:00:00 2001 From: Marco Franssen Date: Fri, 17 Feb 2023 08:42:56 +0100 Subject: [PATCH] Resolve goreleaser deprecation warning --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 17ec0cb0..9a651994 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -114,7 +114,7 @@ jobs: uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # ratchet:goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }} ${{ ((startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-draft')) && '-f .goreleaser.draft.yml') || '' }} + args: release --clean ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }} ${{ ((startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-draft')) && '-f .goreleaser.draft.yml') || '' }} env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" LDFLAGS: ${{ steps.release-vars.outputs.LDFLAGS }}