Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Build script communicates with github using TLS 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-berezin committed May 4, 2018
1 parent b8d7341 commit ad6b22a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PrepareRepository.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) Microsoft Research 2016
# License: MIT. See LICENSE
mkdir -Force .paket
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest https://github.com/fsprojects/Paket/releases/download/3.31.2/paket.bootstrapper.exe -OutFile .\.paket\paket.bootstrapper.exe
if (!$?) {
Write-Error -Message 'ERROR: Failed to download paket bootstrapper.'
Expand Down

0 comments on commit ad6b22a

Please sign in to comment.