Skip to content

Commit

Permalink
docs: use --clean in examples (#393)
Browse files Browse the repository at this point in the history
* fix: update obsolete --rm-dir to --clean

* fix: restore IDE unexpected replacements

* fix: extra newline removed

Sorry, lot of "minor" commit to limit the global changes... My IDE is not setup as yours, I tried to tricked it.
  • Loading branch information
arnaduga committed Feb 5, 2023
1 parent f82d6c1 commit 8f389ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
Expand Down Expand Up @@ -87,7 +87,7 @@ Or with a condition on GoReleaser step:
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
Expand All @@ -112,7 +112,7 @@ the [Import GPG](https://github.com/crazy-max/ghaction-import-gpg) GitHub Action
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand All @@ -137,7 +137,7 @@ purpose. You can do that with the [actions/upload-artifact](https://github.com/a
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
workdir: myfolder
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -212,7 +212,7 @@ secret named `GH_PAT`, the step will look like this:
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
```
Expand Down

0 comments on commit 8f389ea

Please sign in to comment.