Skip to content

Commit

Permalink
Merge pull request #712 from shogo82148/rm-dist-is-deprecated
Browse files Browse the repository at this point in the history
--rm-dist has been deprecated in favor of --clean
  • Loading branch information
fujiwara authored Jul 1, 2024
2 parents a8a04bd + 63ae35b commit ed17535
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ env.DO_RELEASE }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ test:
go test -race ./...

packages:
goreleaser build --skip-validate --rm-dist
goreleaser build --skip-validate --clean

packages-snapshot:
goreleaser build --skip-validate --rm-dist --snapshot
goreleaser build --skip-validate --clean --snapshot

clean:
rm -f cmd/ecspresso/ecspresso
Expand Down

0 comments on commit ed17535

Please sign in to comment.