From d314f1053c02c2bccbd7fc999bacff7249eeb95a Mon Sep 17 00:00:00 2001 From: Manohar Reddy Date: Sat, 24 Apr 2021 17:40:03 +0000 Subject: [PATCH] fix issues with hack/install-protoc.sh --- hack/install-protoc.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hack/install-protoc.sh b/hack/install-protoc.sh index 78ad31ee4..27244c957 100644 --- a/hack/install-protoc.sh +++ b/hack/install-protoc.sh @@ -14,15 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -PROTOCOL_BUF_VERSION=v3.15.1 +PROTOCOL_BUF_VERSION=3.15.1 PROTOC_GEN_GO_GRPC_VERSION=v1.1.0 PROTOC_GEN_GO_VERSION=v1.25.0 -wget https://github.com/protocolbuffers/protobuf/releases/download/$PROTOCOL_BUF_VERSION/protoc-$PROTOCOL_BUF_VERSION-linux-x86_64.zip -wget https://github.com/grpc/grpc-go/releases/download/cmd/protoc-gen-go-grpc/$PROTOGEN_GO_GRPC_VERSION/protoc-gen-go-grpc.$PROTOGEN_GO_GRPC_VERSION.linux.amd64.tar.gz +wget https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOCOL_BUF_VERSION/protoc-$PROTOCOL_BUF_VERSION-linux-x86_64.zip +wget https://github.com/grpc/grpc-go/releases/download/cmd/protoc-gen-go-grpc/$PROTOC_GEN_GO_GRPC_VERSION/protoc-gen-go-grpc.$PROTOC_GEN_GO_GRPC_VERSION.linux.amd64.tar.gz wget wget https://github.com/protocolbuffers/protobuf-go/releases/download/$PROTOC_GEN_GO_VERSION/protoc-gen-go.$PROTOC_GEN_GO_VERSION.linux.amd64.tar.gz sudo unzip -o protoc-$PROTOCOL_BUF_VERSION-linux-x86_64.zip -d /usr/local bin/protoc sudo unzip -o protoc-$PROTOCOL_BUF_VERSION-linux-x86_64.zip -d /usr/local 'include/*' -sudo tar -C /usr/local/bin -xvf protoc-gen-go-grpc.$PROTOGEN_GO_GRPC_VERSION.linux.amd64.tar.gz +sudo tar -C /usr/local/bin -xvf protoc-gen-go-grpc.$PROTOC_GEN_GO_GRPC_VERSION.linux.amd64.tar.gz sudo tar -C /usr/local/bin -xvf protoc-gen-go.$PROTOC_GEN_GO_VERSION.linux.amd64.tar.gz sudo chmod +x /usr/local/bin/protoc-gen-go sudo chmod +x /usr/local/bin/protoc-gen-go-grpc