Optional Windows Taskcluster dependency should be able to use TLS 1.2

This commit is contained in:
Jan Andre Ikenmeyer 2018-11-06 17:29:43 +01:00
parent 82bd1e51c7
commit 860422d1dc
No known key found for this signature in database
GPG key ID: 28F9E42748DD95AE

View file

@ -10,13 +10,6 @@
[EnvironmentVariableTarget]::Machine)
# Optional
$client.DownloadFile(
"https://download.tuxfamily.org/dvorak/windows/bepo.exe",
"C:\bepo.exe"
)
# use TLS 1.2 (see bug 1443595)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
@ -35,6 +28,12 @@ function Expand-ZIPFile($file, $destination, $url)
}
}
# Optional
$client.DownloadFile(
"https://download.tuxfamily.org/dvorak/windows/bepo.exe",
"C:\bepo.exe"
)
md C:\git
Expand-ZIPFile -File "C:\git.zip" -Destination "C:\git" -Url `
"https://github.com/git-for-windows/git/releases/download/v2.19.0.windows.1/MinGit-2.19.0-64-bit.zip"