diff --git a/publish.ps1 b/publish.ps1 index cad9aee4..356f6e46 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -54,6 +54,9 @@ function get_release_notes() { } function Publish-Github() { + + [System.Net.ServicePointManager]::SecurityProtocol = 3072 -bor 768 -bor [System.Net.SecurityProtocolType]::Tls -bor [System.Net.SecurityProtocolType]::Ssl3 + if (!$Github) { Write-Host "Github publish disabled."; return } Write-Host 'Publishing to Github'