Browse Source

Merge pull request #9914 from gyuho/protoc

*: require protoc 3.6.0
Gyuho Lee 7 years ago
parent
commit
db102de675
2 changed files with 4 additions and 4 deletions
  1. 2 2
      functional/scripts/genproto.sh
  2. 2 2
      scripts/genproto.sh

+ 2 - 2
functional/scripts/genproto.sh

@@ -7,8 +7,8 @@ if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then
 fi
 fi
 
 
 # for now, be conservative about what version of protoc we expect
 # 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
   exit 255
 fi
 fi
 
 

+ 2 - 2
scripts/genproto.sh

@@ -10,8 +10,8 @@ if ! [[ "$0" =~ scripts/genproto.sh ]]; then
 	exit 255
 	exit 255
 fi
 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
 	exit 255
 fi
 fi