Update downloads.dlang.org links to use https
This commit is contained in:
parent
6744df20f3
commit
02070df593
12
appveyor.yml
12
appveyor.yml
|
@ -31,16 +31,16 @@ install:
|
||||||
{
|
{
|
||||||
$version = $env:DVersion;
|
$version = $env:DVersion;
|
||||||
if($version -eq "stable") {
|
if($version -eq "stable") {
|
||||||
$latest = (Invoke-WebRequest "http://downloads.dlang.org/releases/LATEST").toString();
|
$latest = (Invoke-WebRequest "https://downloads.dlang.org/releases/LATEST").toString();
|
||||||
$url = "http://downloads.dlang.org/releases/2.x/$($latest)/dmd.$($latest).windows.7z";
|
$url = "https://downloads.dlang.org/releases/2.x/$($latest)/dmd.$($latest).windows.7z";
|
||||||
}elseif($version -eq "beta") {
|
}elseif($version -eq "beta") {
|
||||||
$latest = (Invoke-WebRequest "http://downloads.dlang.org/pre-releases/LATEST").toString();
|
$latest = (Invoke-WebRequest "https://downloads.dlang.org/pre-releases/LATEST").toString();
|
||||||
$latestVersion = $latest.split("-")[0].split("~")[0];
|
$latestVersion = $latest.split("-")[0].split("~")[0];
|
||||||
$url = "http://downloads.dlang.org/pre-releases/2.x/$($latestVersion)/dmd.$($latest).windows.7z";
|
$url = "https://downloads.dlang.org/pre-releases/2.x/$($latestVersion)/dmd.$($latest).windows.7z";
|
||||||
}elseif($version -eq "nightly") {
|
}elseif($version -eq "nightly") {
|
||||||
$url = "http://nightlies.dlang.org/dmd-master-2017-05-20/dmd.master.windows.7z"
|
$url = "https://nightlies.dlang.org/dmd-master-2017-05-20/dmd.master.windows.7z"
|
||||||
}else {
|
}else {
|
||||||
$url = "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z";
|
$url = "https://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z";
|
||||||
}
|
}
|
||||||
$env:PATH += ";C:\dmd2\windows\bin;";
|
$env:PATH += ";C:\dmd2\windows\bin;";
|
||||||
return $url;
|
return $url;
|
||||||
|
|
Loading…
Reference in New Issue