Skip to content

Commit

Permalink
Pin protobuf on Windows to 3.12.3 because 3.12.1/3.12.2/3.12.4 failed…
Browse files Browse the repository at this point in the history
… for the same issue.

- protocolbuffers/protobuf#7567
  • Loading branch information
xkszltl committed Jul 29, 2020
1 parent a0fa6ba commit 9edd6b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions win/pkgs/protobuf.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ 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]

# Both 3.12.2 and 3.12.4 failed for the same issue.
# - https://github.com/protocolbuffers/protobuf/issues/7567
$latest_ver='v3.12.3'

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

Expand Down

0 comments on commit 9edd6b0

Please sign in to comment.