Skip to content

Commit

Permalink
Workaround for vcpkg-tool regression bug (#5328)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Kolesnyk <[email protected]>
  • Loading branch information
antkmsft and antkmsft authored Feb 6, 2024
1 parent 43f6c1d commit 5a70fca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eng/scripts/Update-VcpkgPort.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,13 @@ if ($DailyRelease) {


Write-Host "./vcpkg.exe x-add-version $VcpkgPortName $addVersionAdditionalParameters"
./vcpkg.exe x-add-version $VcpkgPortName $addVersionAdditionalParameters

# https://github.com/microsoft/vcpkg/issues/36616
if($addVersionAdditionalParameters -ne '') {
./vcpkg.exe x-add-version $VcpkgPortName $addVersionAdditionalParameters
} else {
./vcpkg.exe x-add-version $VcpkgPortName
}

if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to run vcpkg x-add-version $VcpkgPortName"
Expand Down

0 comments on commit 5a70fca

Please sign in to comment.