diff options
| author | ruki <[email protected]> | 2021-07-17 23:46:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-07-17 23:46:04 +0800 |
| commit | 32d3a088d8db23be3636175f43265a03627eb211 (patch) | |
| tree | 6b8abfca837fc1256a8062a7398437ca3d7ffdf5 /scripts | |
| parent | cfa968cc6d43d555c03b175449a976626949c714 (diff) | |
remove some appveyor urls
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.ps1 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index a189b2ba2..8f94dcc14 100755 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -87,11 +87,7 @@ param ( $x64arch = @('AMD64', 'IA64', 'ARM64') $arch = if ($env:PROCESSOR_ARCHITECTURE -in $x64arch -or $env:PROCESSOR_ARCHITEW6432 -in $x64arch) { 'x64' } else { 'x86' } $url = if ($v -is [version]) { - if ($v -gt "2.2.6") { - "https://ci.appveyor.com/api/projects/waruqi/xmake/artifacts/xmake-installer.exe?tag=v$v&pr=false&job=Image%3A+Visual+Studio+2017%3B+Platform%3A+$arch" - } else { - "https://github.com/xmake-io/xmake/releases/download/v$v/xmake-v$v.exe" - } + "https://github.com/xmake-io/xmake/releases/download/v$v/xmake-v$v.exe" } else { "https://ci.appveyor.com/api/projects/waruqi/xmake/artifacts/xmake-installer.exe?branch=$v&pr=false&job=Image%3A+Visual+Studio+2017%3B+Platform%3A+$arch" } |
