From df18a10fdc37021d334a9b85924ef36f14ce51d7 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Wed, 28 Jun 2023 23:07:32 +0900 Subject: [PATCH] chore: replace the deprecated option `--rm-dist` to `--clean` (#6153) https://goreleaser.com/deprecations#-rm-dist Signed-off-by: Shunsuke Suzuki --- .circleci/config.yml | 2 +- build.toast.yml | 2 +- scripts/release-ci.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0566a6a92e..5c603173d2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -147,7 +147,7 @@ jobs: - run: ssh remote-docker "sudo apt-get update; sudo apt-get install -y qemu-user-static binfmt-support" - checkout - run: make build-js - - run: goreleaser --debug --rm-dist --skip-publish --snapshot + - run: goreleaser --debug --clean --skip-publish --snapshot - slack/notify-on-failure: only_for_branches: main diff --git a/build.toast.yml b/build.toast.yml index 371d0eb742..e39183416b 100644 --- a/build.toast.yml +++ b/build.toast.yml @@ -22,7 +22,7 @@ tasks: GR_ARGS: "" dependencies: - build-js - command: goreleaser --debug build --snapshot --rm-dist $GR_ARGS + command: goreleaser --debug build --snapshot --clean $GR_ARGS input_paths: - .git/ - cmd/ diff --git a/scripts/release-ci.sh b/scripts/release-ci.sh index d922341947..1d77041c42 100755 --- a/scripts/release-ci.sh +++ b/scripts/release-ci.sh @@ -41,7 +41,7 @@ VERSION=$(git describe --abbrev=0 --tags) ./scripts/upload-assets.py --clean "$VERSION" ./scripts/upload-assets.py "$VERSION" -goreleaser --rm-dist +goreleaser --clean ./scripts/release-update-tilt-repo.sh "$VERSION" ./scripts/release-update-tilt-docs-repo.sh "$VERSION"