diff --git a/support/install.ps1 b/support/install.ps1 index 81216d75ba..47653069a2 100644 --- a/support/install.ps1 +++ b/support/install.ps1 @@ -124,7 +124,7 @@ md -Force $gardenTmpPath | Out-Null [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 # Download and extract the archive to $gardenBinPath -$latestRelease = Invoke-WebRequest "https://github.com/garden-io/garden/releases/latest" -Headers @{"Accept"="application/json"} +$latestRelease = Invoke-WebRequest "https://github.com/garden-io/garden/releases/latest" -UseBasicParsing -Headers @{"Accept"="application/json"} # The releases are returned in the format {"id":3622206,"tag_name":"hello-1.0.0.11",...}, we have to extract the tag_name. $json = $latestRelease.Content | ConvertFrom-Json $latestVersion = $json.tag_name