Skip to content

Commit

Permalink
docs: fix deprecation notice for --rm-dist -> --clean (#3733)
Browse files Browse the repository at this point in the history
<!-- 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:
4954815
  • Loading branch information
daegalus committed Jan 30, 2023
1 parent 050f5a4 commit 5c4c7de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www/docs/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -50,8 +50,9 @@ Description.
```

=== "After"

```bash
goreleaser --rm-dist
goreleaser --clean
```

### archives.rlcp
Expand Down

0 comments on commit 5c4c7de

Please sign in to comment.