Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9e49b5d

Browse files
dotnet-botwtgodbe
authored andcommitted
Merge in 'release/1.0.0' changes
2 parents 60802c4 + 96b316a commit 9e49b5d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

UpdateDependencies.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ param(
1919
# a semi-colon delimited list of GitHub users to notify on the PR
2020
[string]$GitHubPullRequestNotifications='')
2121

22+
# Enable TLS 1.2 for communication with GitHub.
23+
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
24+
2225
$LatestVersion = Invoke-WebRequest $VersionFileUrl -UseBasicParsing
2326
$LatestVersion = $LatestVersion.ToString().Trim()
2427

UpdatePublishedVersions.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ function Update-GitHub-File(
6565

6666
message "Getting the `"sha`" of the current contents of file '$owner/$repo/$path'"
6767

68+
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
69+
6870
$currentFile = Invoke-WebRequest $fileUrl -UseBasicParsing -Headers $headers
6971
$currentSha = (ConvertFrom-Json $currentFile.Content).sha
7072

0 commit comments

Comments
 (0)