File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ install_vcpkg() {
3232 io::log " Downloading vcpkg into ${vcpkg_dir} ..."
3333 VCPKG_VERSION=" $( < ci/etc/vcpkg-version.txt) "
3434 url=" https://github.com/microsoft/vcpkg/archive/${VCPKG_VERSION} .tar.gz"
35- if [[ " ${VCPKG_VERSION} " =~ [0-9]{4}.[0-9]{2}.[0-9]{2} ]]; then
35+ if [[ " ${VCPKG_VERSION} " =~ [0-9]{4}\ . [0-9]{2}\ . [0-9]{2} ]]; then
3636 # vcpkg uses date-like tags for releases
3737 url=" https://github.com/microsoft/vcpkg/archive/refs/tags/${VCPKG_VERSION} .tar.gz"
3838 fi
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ 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}" ) {
72+ if ($vcpkg_version -match " [0-9]{4}\ .[0-9]{2}\ .[0-9]{2}" ) {
7373 $vcpkg_url = " https://github.com/microsoft/vcpkg/archive/refs/tags/${vcpkg_version} .zip"
7474 }
7575 Write-Host " $ ( Get-Date - Format o) Downloading vcpkg archive from $vcpkg_url "
You can’t perform that action at this time.
0 commit comments