From 01088693246d2a339ef5203a9e046076e0597558 Mon Sep 17 00:00:00 2001 From: Miodrag Milic Date: Fri, 18 May 2018 04:47:59 +0200 Subject: [PATCH] fixed publish to Github --- publish.ps1 | 3 +++ 1 file changed, 3 insertions(+) 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'