mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +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:
parent
3eb759f039
commit
d6504aaa1d
@ -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
|
||||
|
@ -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 }}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user