From 82e733d32f3c293b68f364e17f73f3440f17fb14 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Thu, 20 Apr 2023 11:59:34 +0200 Subject: [PATCH] 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. --- .github/workflows/release.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a3d470f..c1ecef01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/Makefile b/Makefile index 5d32a592..6067d45b 100644 --- a/Makefile +++ b/Makefile @@ -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 ..."