Skip to content

Commit

Permalink
Fix goreleaser for v2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbunney committed Nov 25, 2024
1 parent 9853190 commit d6a447e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod tidy
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
go install

dist:
goreleaser build --single-target --skip-validate --rm-dist
goreleaser build --single-target --skip validate

test:
go test -i $(TEST) || exit 1
Expand All @@ -29,7 +29,7 @@ k3s-stop:
@bash scripts/stop-k3s.sh

publish:
goreleaser release --rm-dist
goreleaser release --clean

vet:
@echo "go vet ."
Expand Down

0 comments on commit d6a447e

Please sign in to comment.