Skip to content

Commit 7243646

Browse files
committed
vcpkg version regex is bad, don't use it
1 parent 7f8e128 commit 7243646

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ci/kokoro/windows/lib/vcpkg.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ function Install-Vcpkg {
6969

7070
$vcpkg_version = Get-Content -Path "${project_root}\ci\etc\vcpkg-version.txt"
7171
$vcpkg_url = "https://github.com/microsoft/vcpkg/archive/${vcpkg_version}.zip"
72-
if ($vcpkg_version -match "[0-9]{4}.[0-9]{2}.[0-9]{2}" ) {
73-
$vcpkg_url = "https://github.com/microsoft/vcpkg/archive/refs/tags/${vcpkg_version}.zip"
74-
}
72+
# if ($vcpkg_version -match "[0-9]{4}.[0-9]{2}.[0-9]{2}" ) {
73+
# $vcpkg_url = "https://github.com/microsoft/vcpkg/archive/refs/tags/${vcpkg_version}.zip"
74+
# }
7575
Write-Host "$(Get-Date -Format o) Downloading vcpkg archive from $vcpkg_url"
7676

7777
# Download the right version of `vcpkg`

0 commit comments

Comments
 (0)