Pin net/http2 verison in go 1.13 and 1.14
The net library is no longer compatible when built from "tip" in go
versions below 1.15, and is not supported in go versions below 1.16.
This pins it to a known working version.
@@ -44,9 +44,11 @@ for dir in $DIRS; do
V1_10="1.10"
V1_11="1.11"
V1_12="1.12"
+ V1_13="1.13"
+ V1_14="1.14"
if [[ "$VERSION" =~ .*"$V1_7".* || "$VERSION" =~ .*"$V1_8".* ]]; then
echo "Not installing GRPC for old versions"
- elif [[ "$VERSION" =~ .*"$V1_9" || "$VERSION" =~ .*"$V1_10" || "$VERSION" =~ .*"$V1_11" || "$VERSION" =~ .*"$V1_12" ]]; then
+ elif [[ "$VERSION" =~ .*"$V1_9" || "$VERSION" =~ .*"$V1_10" || "$VERSION" =~ .*"$V1_11" || "$VERSION" =~ .*"$V1_12" || "$VERSION" =~ .*"$V1_13" || "$VERSION" =~ .*"$V1_14" ]]; then
# install v3 dependencies that support this go version
set +e
go get -u google.golang.org/grpc # this go get will fail to build
