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