mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
scripts: disable go mod and bump protoc to 3.6.1
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
This commit is contained in:
parent
ea0cf681c7
commit
a011b2c4c4
@ -10,14 +10,17 @@ if ! [[ "$0" =~ scripts/genproto.sh ]]; then
|
||||
exit 255
|
||||
fi
|
||||
|
||||
if [[ $(protoc --version | cut -f2 -d' ') != "3.6.0" ]]; then
|
||||
echo "could not find protoc 3.6.0, is it installed + in PATH?"
|
||||
if [[ $(protoc --version | cut -f2 -d' ') != "3.6.1" ]]; then
|
||||
echo "could not find protoc 3.6.1, is it installed + in PATH?"
|
||||
exit 255
|
||||
fi
|
||||
|
||||
# directories containing protos to be built
|
||||
DIRS="./wal/walpb ./etcdserver/etcdserverpb ./etcdserver/api/snap/snappb ./raft/raftpb ./mvcc/mvccpb ./lease/leasepb ./auth/authpb ./etcdserver/api/v3lock/v3lockpb ./etcdserver/api/v3election/v3electionpb"
|
||||
|
||||
# disable go mod
|
||||
export GO111MODULE=off
|
||||
|
||||
# exact version of packages to build
|
||||
GOGO_PROTO_SHA="1adfc126b41513cc696b209667c8656ea7aac67c"
|
||||
GRPC_GATEWAY_SHA="92583770e3f01b09a0d3e9bdf64321d8bebd48f2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user