goreleaser deprecated --rm-dist in favor of --clean (#349)

See https://goreleaser.com/deprecations#-rm-dist.

Observed in goreleaser step in
https://github.com/databricks/bricks/actions/runs/4752794591/jobs/8443579583.
This commit is contained in:
Pieter Noordhuis 2023-04-20 11:59:34 +02:00 committed by GitHub
parent 9b06095e47
commit 82e733d32f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -43,6 +43,6 @@ jobs:
uses: goreleaser/goreleaser-action@v4 uses: goreleaser/goreleaser-action@v4
with: with:
version: latest version: latest
args: release --rm-dist args: release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -24,7 +24,7 @@ build: vendor
snapshot: snapshot:
@echo "✓ Building dev snapshot" @echo "✓ Building dev snapshot"
@goreleaser build --snapshot --rm-dist --single-target @goreleaser build --snapshot --clean --single-target
vendor: vendor:
@echo "✓ Filling vendor folder with library code ..." @echo "✓ Filling vendor folder with library code ..."