How to update the binaries other than protoc-linux-x86_64.exe and protoc-linux-arm32.exe:
i in *.exe; do mv $i $(echo $i | sed s/3.0.0-beta-2-//); donechmod +x *.exeThe 64-bit Linux version of the proto compiler is linked statically. To update it, do the following steps on an x86_64 machine:
git clone http://github.com/google/protobuf.gitgit checkout <commithash> (current is d5fb408d or 3.0.0-beta-2)./autogen.shLDFLAGS=-static ./configureLDFLAGS = -static to LDFLAGS = -all-static in src/Makefile.makecp src/protoc <Bazel tree>/third_party/protobuf/protoc-linux-x86_64.exe .How to update the src/ directory:
git clone http://github.com/google/protobuf.gitgit checkout <commithash> (current is d5fb408d or 3.0.0-beta-2)mkdir -p third_party/protobuf/src/google in the root of the Bazel tree.cp -R <root of protobuf tree>/src/google/protobuf third_party/protobuf/src/googlethird_party/protobuf/BUILD with the rules in the protobuf repository.