Skip to content

Commit

Permalink
fix(goreleaser): support goreleaser v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancurrah committed Sep 8, 2024
1 parent 1e40eba commit 63d1be4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
builds:
- main: ./cmd/gomodguard/main.go
env:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ dockerrun: dockerbuild

.PHONY: snapshot
snapshot:
goreleaser --rm-dist --snapshot
goreleaser --clean --snapshot

.PHONY: release
release:
goreleaser --rm-dist
goreleaser --clean

.PHONY: clean
clean:
Expand Down

0 comments on commit 63d1be4

Please sign in to comment.