Fix goreleaser target

This commit is contained in:
Martin Montes
2024-08-25 21:39:52 +02:00
parent e9c1b5b858
commit 7806660112
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ $(GOLANGCI_LINT): $(LOCALBIN)
.PHONY: goreleaser
goreleaser: $(GORELEASER) ## Download goreleaser locally if necessary.
$(GORELEASER): $(LOCALBIN)
GOBIN=$(LOCALBIN) $(GO) install github.com/goreleaser/goreleaser@$(GORELEASER_VERSION)
GOBIN=$(LOCALBIN) $(GO) install github.com/goreleaser/goreleaser/v2@$(GORELEASER_VERSION)
.PHONY: go-licenses
go-licenses: $(GO_LICENSES) ## Download go-licenses locally if necessary.

View File

@ -68,7 +68,7 @@ lint: golangci-lint ## Lint.
.PHONY: release
release: goreleaser ## Test release locally.
$(GORELEASER) release --snapshot --rm-dist
$(GORELEASER) release --snapshot --clean
##@ Run