1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-19 12:12:26 +02:00

docs: keep --rm-dist for now

refs #3702

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos A Becker 2023-01-21 18:25:37 -03:00
parent 3eb759f039
commit d6504aaa1d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
4 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@ steps:
stage: release stage: release
image: 'goreleaser/goreleaser' image: 'goreleaser/goreleaser'
commands: commands:
- goreleaser --clean - goreleaser --rm-dist
``` ```
You need to pass the variable `GITHUB_TOKEN` in the Codefresh UI that You need to pass the variable `GITHUB_TOKEN` in the Codefresh UI that

View File

@ -33,7 +33,7 @@ Action like the following:
with: with:
distribution: goreleaser distribution: goreleaser
version: latest version: latest
args: release --clean args: release --rm-dist
env: env:
REGISTRY: ${{ env.REGISTRY }} REGISTRY: ${{ env.REGISTRY }}
IMAGE: ${{ env.IMAGE_NAME }} IMAGE: ${{ env.IMAGE_NAME }}

View File

@ -33,7 +33,7 @@ monorepo:
Then, you can release with (from the project's root directory): Then, you can release with (from the project's root directory):
```bash ```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: Then, the following is different from a "regular" run:
@ -69,7 +69,7 @@ monorepo:
Then, you can release with: Then, you can release with:
```bash ```bash
goreleaser release --clean goreleaser release --rm-dist
``` ```
GoReleaser will then ignore the tags that are not prefixed with `v`, and it GoReleaser will then ignore the tags that are not prefixed with `v`, and it

View File

@ -41,7 +41,7 @@ Description.
> since 2023-01-17 (v1.15.0) > 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" === "Before"
@ -51,7 +51,7 @@ Description.
=== "After" === "After"
```bash ```bash
goreleaser --clean goreleaser --rm-dist
``` ```
### archives.rlcp ### 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 If you want to make sure your releases will keep working properly, you can
enable this option and test it out with enable this option and test it out with
`goreleaser release --snapshot --clean`. `goreleaser release --snapshot --rm-dist`.
=== "After" === "After"
``` yaml ``` yaml