Skip to content

Commit

Permalink
use clean instead of rm
Browse files Browse the repository at this point in the history
  • Loading branch information
gabeduke committed Dec 27, 2023
1 parent 48042da commit 60f0963
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,21 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: stable
-
name: Run GoReleaser
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Update new version in krew-index
- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.36

0 comments on commit 60f0963

Please # to comment.