mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-08-22 19:41:07 +00:00
Fix goreleaser target
This commit is contained in:
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user