1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-11 14:39:28 +02:00

docs: fix deprecation notice for --rm-dist -> --clean (#3733)

<!-- If applied, this commit will... -->
Fix the deprecation notice page to reference the correct new flag
replacing `--rm-dist`

...

<!-- Why is this change being made? -->
The documentation for this deprecation seems incorrect, and live on the
main page.

...

<!-- # Provide links to any relevant tickets, URLs or other resources
-->
https://goreleaser.com/deprecations/#-rm-dist
...

I used this commit to reference what it was being changed to:
4954815ae4
This commit is contained in:
Yulian Kuncheff 2023-01-30 15:56:40 -08:00 committed by GitHub
parent 050f5a43c2
commit 5c4c7de539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ Description.
> since 2023-01-17 (v1.15.0)
`--rm-dist` has been deprecated in favor of `--rm-dist`.
`--rm-dist` has been deprecated in favor of `--clean`.
=== "Before"
@ -50,8 +50,9 @@ Description.
```
=== "After"
```bash
goreleaser --rm-dist
goreleaser --clean
```
### archives.rlcp