From d6504aaa1d65381b718ead90af79e4b2ecb072bc Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Sat, 21 Jan 2023 18:25:37 -0300 Subject: [PATCH] docs: keep --rm-dist for now refs #3702 Signed-off-by: Carlos A Becker --- www/docs/ci/codefresh.md | 2 +- www/docs/cookbooks/override-image-name.md | 2 +- www/docs/customization/monorepo.md | 4 ++-- www/docs/deprecations.md | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/www/docs/ci/codefresh.md b/www/docs/ci/codefresh.md index b75abdd43..af5f89ea6 100644 --- a/www/docs/ci/codefresh.md +++ b/www/docs/ci/codefresh.md @@ -31,7 +31,7 @@ steps: stage: release image: 'goreleaser/goreleaser' commands: - - goreleaser --clean + - goreleaser --rm-dist ``` You need to pass the variable `GITHUB_TOKEN` in the Codefresh UI that diff --git a/www/docs/cookbooks/override-image-name.md b/www/docs/cookbooks/override-image-name.md index 39a4941a1..bf230bcd6 100644 --- a/www/docs/cookbooks/override-image-name.md +++ b/www/docs/cookbooks/override-image-name.md @@ -33,7 +33,7 @@ Action like the following: with: distribution: goreleaser version: latest - args: release --clean + args: release --rm-dist env: REGISTRY: ${{ env.REGISTRY }} IMAGE: ${{ env.IMAGE_NAME }} diff --git a/www/docs/customization/monorepo.md b/www/docs/customization/monorepo.md index df4086e89..2fe612ef0 100644 --- a/www/docs/customization/monorepo.md +++ b/www/docs/customization/monorepo.md @@ -33,7 +33,7 @@ monorepo: Then, you can release with (from the project's root directory): ```bash -goreleaser release --clean -f ./subproj1/.goreleaser.yaml +goreleaser release --rm-dist -f ./subproj1/.goreleaser.yaml ``` Then, the following is different from a "regular" run: @@ -69,7 +69,7 @@ monorepo: Then, you can release with: ```bash -goreleaser release --clean +goreleaser release --rm-dist ``` GoReleaser will then ignore the tags that are not prefixed with `v`, and it diff --git a/www/docs/deprecations.md b/www/docs/deprecations.md index 0b225b195..74907f5d1 100644 --- a/www/docs/deprecations.md +++ b/www/docs/deprecations.md @@ -41,7 +41,7 @@ Description. > since 2023-01-17 (v1.15.0) -`--rm-dist` has been deprecated in favor of `--clean`. +`--rm-dist` has been deprecated in favor of `--rm-dist`. === "Before" @@ -51,7 +51,7 @@ Description. === "After" ```bash - goreleaser --clean + goreleaser --rm-dist ``` ### archives.rlcp @@ -73,7 +73,7 @@ would be nice to have your opinion [here][rlcp-discuss]. If you want to make sure your releases will keep working properly, you can enable this option and test it out with -`goreleaser release --snapshot --clean`. +`goreleaser release --snapshot --rm-dist`. === "After" ``` yaml