mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: use latest gogo/protobuf for proto files
For https://github.com/coreos/etcd/issues/5671.
This commit is contained in:
parent
3488555bc3
commit
b0d7455fb1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user