Skip to content

Commit e2bfe83

Browse files
rashmigottipatici-robot
authored andcommitted
Pin protoc version to v1.3.0 (#1174)
Signed-off-by: Rashmi Gottipati <[email protected]> Upstream-repository: operator-registry Upstream-commit: cf1db12e386a789cac32b228230f60765597cc8b
1 parent b3dfc43 commit e2bfe83

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

staging/operator-registry/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,12 @@ $(LOCALBIN):
148148
## Tool Binaries
149149
GORELEASER ?= $(LOCALBIN)/goreleaser
150150
GINKGO ?= $(LOCALBIN)/ginkgo
151+
PROTOC_VERSION ?= $(LOCALBIN)/protoc-gen-go-grpc
151152

152153
## Tool Versions
153154
GORELEASER_VERSION ?= v1.8.3
154155
GINKGO_VERSION ?= v2.1.3
156+
PROTOC_VERSION ?= v1.3.0
155157

156158
.PHONY: goreleaser
157159
goreleaser: $(GORELEASER) ## Download goreleaser locally if necessary.
@@ -162,3 +164,8 @@ $(GORELEASER): $(LOCALBIN)
162164
ginkgo: $(GINKGO) ## Download ginkgo locally if necessary.
163165
$(GINKGO): $(LOCALBIN)
164166
GOBIN=$(LOCALBIN) go install $(GO_INSTALL_OPTS) github.com/onsi/ginkgo/v2/ginkgo@$(GINKGO_VERSION)
167+
168+
.PHONY: protoc-gen-go-grpc
169+
protoc-gen-go-grpc: $(protoc-gen-go-grpc) ## Download protoc-gen-go-grpc locally if necessary.
170+
$(protoc-gen-go-grpc): $(LOCALBIN)
171+
GOBIN=$(LOCALBIN) go install $(GO_INSTALL_OPTS) google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_VERSION)

0 commit comments

Comments
 (0)