Skip to content

Commit 270d22a

Browse files
committed
build: Remove protoc version prefix
Signed-off-by: Paulo Gomes <[email protected]>
1 parent eacf59f commit 270d22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/base.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $(GOLANGCI):
1818

1919
PROTOC = $(TOOLS_BIN)/protoc
2020
$(PROTOC):
21-
curl -fsSL https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION)/protoc-$(PROTOC_VERSION)-linux-x86_64.zip \
21+
curl -fsSL https://github.com/protocolbuffers/protobuf/releases/download/$(PROTOC_VERSION)/protoc-$(patsubst v%,%,$(PROTOC_VERSION))-linux-x86_64.zip \
2222
-o $(TOOLS_BIN)/protoc.zip
2323
unzip -j $(TOOLS_BIN)/protoc.zip -d $(TOOLS_BIN) "bin/protoc"
2424
rm $(TOOLS_BIN)/protoc.zip

0 commit comments

Comments
 (0)