fix: use --clean instead of --rm-dist

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2023-02-05 13:59:14 -03:00
parent 8f389eacd3
commit eeac89f426
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
1 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ jobs:
with:
distribution: ${{ matrix.distribution }}
version: ${{ matrix.version }}
args: release --skip-publish --rm-dist --snapshot
args: release --skip-publish --clean --snapshot
workdir: ./test
install-only:
@ -139,7 +139,7 @@ jobs:
uses: ./
with:
version: latest
args: -f .goreleaser-signing.yml release --skip-publish --rm-dist --snapshot
args: -f .goreleaser-signing.yml release --skip-publish --clean --snapshot
workdir: ./test
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
@ -167,7 +167,7 @@ jobs:
name: GoReleaser
uses: ./
with:
args: release --skip-publish --rm-dist --snapshot
args: release --skip-publish --clean --snapshot
workdir: ./test
-
name: Upload assets
@ -193,7 +193,7 @@ jobs:
name: GoReleaser
uses: ./
with:
args: release --config .goreleaser-dist.yml --skip-publish --rm-dist --snapshot
args: release --config .goreleaser-dist.yml --skip-publish --clean --snapshot
workdir: ./test
-
name: Check dist