diff --git a/images.CI/linux-and-win/create-release.ps1 b/images.CI/linux-and-win/create-release.ps1 index 72d0db4e1..f32974c2d 100644 --- a/images.CI/linux-and-win/create-release.ps1 +++ b/images.CI/linux-and-win/create-release.ps1 @@ -26,6 +26,7 @@ $headers = @{ Authorization = "Basic ${base64AuthInfo}" } +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls13 $NewRelease = Invoke-RestMethod $URL -Body $Body -Method "POST" -Headers $headers -ContentType "application/json" Write-Host "Created release: $($NewRelease._links.web.href)" \ No newline at end of file