Merge pull request #9914 from gyuho/protoc

*: require protoc 3.6.0
This commit is contained in:
Gyuho Lee 2018-07-10 10:30:50 -07:00 committed by GitHub
commit db102de675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then
fi
# for now, be conservative about what version of protoc we expect
if ! [[ $(protoc --version) =~ "3.5.1" ]]; then
echo "could not find protoc 3.5.1, is it installed + in PATH?"
if ! [[ $(protoc --version) =~ "3.6.0" ]]; then
echo "could not find protoc 3.6.0, is it installed + in PATH?"
exit 255
fi

View File

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