scripts: use latest gogo/protobuf for proto files

For https://github.com/coreos/etcd/issues/5671.
release-3.0
Gyu-Ho Lee 2016-06-17 10:21:18 -07:00
parent 3488555bc3
commit b0d7455fb1
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ fi
DIRS="./wal/walpb ./etcdserver/etcdserverpb ./snap/snappb ./raft/raftpb ./mvcc/mvccpb ./lease/leasepb ./auth/authpb"
# exact version of protoc-gen-gogo to build
SHA="c3995ae437bb78d1189f4f147dfe5f87ad3596e4"
GOGO_PROTO_SHA="2752d97bbd91927dd1c43296dbf8700e50e2708c"
GRPC_GATEWAY_SHA="dcb844349dc5d2cb0300fdc4d2d374839d0d2e13"
# set up self-contained GOPATH for building
@ -43,7 +43,7 @@ ln -s "${PWD}" "${ETCD_ROOT}"
go get -u github.com/gogo/protobuf/{proto,protoc-gen-gogo,gogoproto}
go get -u golang.org/x/tools/cmd/goimports
pushd "${GOGOPROTO_ROOT}"
git reset --hard "${SHA}"
git reset --hard "${GOGO_PROTO_SHA}"
make install
popd