chore: force tls 1.2 for release uploads
This commit is contained in:
@@ -30,6 +30,10 @@ param(
|
|||||||
|
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
# Windows PowerShell 5.1 can default to older TLS settings and fail against
|
||||||
|
# modern HTTPS endpoints before curl.exe gets a chance to upload assets.
|
||||||
|
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
|
||||||
|
|
||||||
$repoOwner = 'AnRil'
|
$repoOwner = 'AnRil'
|
||||||
$repoName = 'laude'
|
$repoName = 'laude'
|
||||||
$giteaHost = 'git.xn--90adajar8af4h.xn--p1ai'
|
$giteaHost = 'git.xn--90adajar8af4h.xn--p1ai'
|
||||||
|
|||||||
Reference in New Issue
Block a user