fixed build scripts that publish to github

github no longer accepts tls1.0 connections, use tls1.2
This commit is contained in:
David Sparer
2018-02-25 12:58:12 -06:00
parent f2e9c5e2c0
commit 563fdffb67

View File

@@ -1,5 +1,6 @@
$githubUrl = 'https://api.github.com'
# GitHub doesn't support the default powershell protocol (TLS 1.0)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
function Publish-GitHubRelease {
param (