scripts/genproto: require protoc 3.5.1

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2017-12-22 10:13:05 -08:00
parent 9bbfa23183
commit 7800fd9fff

View File

@ -10,8 +10,8 @@ if ! [[ "$0" =~ scripts/genproto.sh ]]; then
exit 255
fi
if [[ $(protoc --version | cut -f2 -d' ') != "3.5.0" ]]; then
echo "could not find protoc 3.5.0, is it installed + in PATH?"
if [[ $(protoc --version | cut -f2 -d' ') != "3.5.1" ]]; then
echo "could not find protoc 3.5.1, is it installed + in PATH?"
exit 255
fi