Skip to content

Commit

Permalink
Protobuf issue disappear in v3.12.3
Browse files Browse the repository at this point in the history
  - protocolbuffers/protobuf#7567
gRPC 1.30 requires Protobuf 3.12 implicitly, lifting the bar to make both of them work.
  • Loading branch information
xkszltl committed Jul 27, 2020
1 parent a9911e8 commit 7240af1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions win/pkgs/protobuf.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ if (Test-Path "$root")

$latest_ver='v' + $($(git ls-remote --tags "$repo") -match '.*refs/tags/v[0-9\.]*$' -replace '.*refs/tags/v','' | sort {[Version]$_})[-1]

# Pin to 3.11 due to https://github.com/protocolbuffers/protobuf/issues/7567
$latest_ver='v' + $($(git ls-remote --tags "$repo") -match '.*refs/tags/v3\.11\.[0-9\.]*$' -replace '.*refs/tags/v','' | sort {[Version]$_})[-1]

git clone --depth 1 --recursive --single-branch -b "$latest_ver" -j8 "$repo"
pushd "$root"

Expand Down

0 comments on commit 7240af1

Please sign in to comment.