protobuf: Bump Protobuf version to 3.7.0

Bump Protobuf version to 3.7.0

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
This commit is contained in:
Nitesh Konkar 2019-08-01 13:47:24 +05:30
parent 053853fe3f
commit 594f423190
2 changed files with 6 additions and 1 deletions

View File

@ -840,6 +840,7 @@ file {
java_outer_classname: "FieldMaskProto" java_outer_classname: "FieldMaskProto"
java_multiple_files: true java_multiple_files: true
go_package: "google.golang.org/genproto/protobuf/field_mask;field_mask" go_package: "google.golang.org/genproto/protobuf/field_mask;field_mask"
cc_enable_arenas: true
objc_class_prefix: "GPB" objc_class_prefix: "GPB"
csharp_namespace: "Google.Protobuf.WellKnownTypes" csharp_namespace: "Google.Protobuf.WellKnownTypes"
} }

View File

@ -20,7 +20,7 @@
# #
set -eu -o pipefail set -eu -o pipefail
PROTOBUF_VERSION=3.5.1 PROTOBUF_VERSION=3.7.0
GOARCH=$(go env GOARCH) GOARCH=$(go env GOARCH)
GOOS=$(go env GOOS) GOOS=$(go env GOOS)
PROTOBUF_DIR=$(mktemp -d) PROTOBUF_DIR=$(mktemp -d)
@ -41,6 +41,10 @@ amd64|386)
unzip $PROTOBUF_DIR/protobuf -d /usr/local unzip $PROTOBUF_DIR/protobuf -d /usr/local
;; ;;
ppc64le)
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protoc-$PROTOBUF_VERSION-linux-ppcle_64.zip"
unzip $PROTOBUF_DIR/protobuf -d /usr/local
;;
*) *)
wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-cpp-$PROTOBUF_VERSION.zip" wget -O $PROTOBUF_DIR/protobuf "https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-cpp-$PROTOBUF_VERSION.zip"
unzip $PROTOBUF_DIR/protobuf -d /usr/src/protobuf unzip $PROTOBUF_DIR/protobuf -d /usr/src/protobuf