Skip to content

Commit

Permalink
remove goreleaser from tools
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Apr 8, 2024
1 parent 49b9e1c commit 5319c5f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 818 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ MOCKGEN ?= $(LOCALBIN)/mockgen
OAPI_CODEGEN ?= $(LOCALBIN)/oapi-codegen
SEMVER ?= $(LOCALBIN)/semver

## Tool Versions
GORELEASER_VERSION ?= v1.25.1

## Tool Installer
.PHONY: deepcopy-gen
deepcopy-gen: $(DEEPCOPY_GEN) ## Download deepcopy-gen locally if necessary.
Expand All @@ -65,7 +68,7 @@ $(GOLANGCI_LINT): $(LOCALBIN)
.PHONY: goreleaser
goreleaser: $(GORELEASER) ## Download goreleaser locally if necessary.
$(GORELEASER): $(LOCALBIN)
test -s $(LOCALBIN)/goreleaser || GOBIN=$(LOCALBIN) go install github.com/goreleaser/goreleaser
test -s $(LOCALBIN)/goreleaser || GOBIN=$(LOCALBIN) go install github.com/goreleaser/goreleaser@$(GORELEASER_VERSION)
.PHONY: mockgen
mockgen: $(MOCKGEN) ## Download mockgen locally if necessary.
$(MOCKGEN): $(LOCALBIN)
Expand All @@ -90,7 +93,8 @@ update-toolbox-tools:
$(LOCALBIN)/mockgen \
$(LOCALBIN)/oapi-codegen \
$(LOCALBIN)/semver
toolbox makefile -f $(LOCALDIR)/Makefile
toolbox makefile -f $(LOCALDIR)/Makefile \
github.com/goreleaser/goreleaser
## toolbox - end

start-replica:
Expand Down

0 comments on commit 5319c5f

Please sign in to comment.