Skip to content

Commit

Permalink
scripts/genproto: require protoc 3.5, update gogo/proto
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Dec 7, 2017
1 parent 2aa4621 commit c646aae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/genproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ if ! [[ "$0" =~ scripts/genproto.sh ]]; then
exit 255
fi

if [[ $(protoc --version | cut -f2 -d' ') != "3.4.0" ]]; then
echo "could not find protoc 3.3.0, is it installed + in PATH?"
if [[ $(protoc --version | cut -f2 -d' ') != "3.5.0" ]]; then
echo "could not find protoc 3.5.0, is it installed + in PATH?"
exit 255
fi

# directories containing protos to be built
DIRS="./wal/walpb ./etcdserver/etcdserverpb ./snap/snappb ./raft/raftpb ./mvcc/mvccpb ./lease/leasepb ./auth/authpb ./etcdserver/api/v3lock/v3lockpb ./etcdserver/api/v3election/v3electionpb"

# exact version of packages to build
GOGO_PROTO_SHA="100ba4e885062801d56799d78530b73b178a78f3"
GRPC_GATEWAY_SHA="8cc3a55af3bcf171a1c23a90c4df9cf591706104"
GOGO_PROTO_SHA="41168f6614b7bb144818ec8967b8c702705df564"
GRPC_GATEWAY_SHA="a92d37fb6339375fa4bb7d9c364f92373fe199c3"
SCHWAG_SHA="b7d0fc9aadaaae3d61aaadfc12e4a2f945514912"

# set up self-contained GOPATH for building
Expand Down

0 comments on commit c646aae

Please sign in to comment.