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
with:
version: latest
args: release --rm-dist
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

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