summaryrefslogtreecommitdiff
path: root/xmake/actions/update/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-09 23:53:15 +0800
committerruki <[email protected]>2020-02-09 23:53:15 +0800
commit944444b2d1f966ffa4aa8dfa71d7b8f4a20b541c (patch)
treed9613ab2d208afbc1ee725929b36bb23ba0e7cd7 /xmake/actions/update/main.lua
parent9c09c324372faf7efdb9caedd8da656bf9dc85c5 (diff)
update links
Diffstat (limited to 'xmake/actions/update/main.lua')
-rw-r--r--xmake/actions/update/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 06a365e29..5b322907f 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -316,7 +316,7 @@ function main()
if version:find('.', 1, true) then
mainurls = {format("https://ci.appveyor.com/api/projects/waruqi/xmake/artifacts/xmake-installer.exe?tag=%s&pr=false&job=Image%%3A+Visual+Studio+2017%%3B+Platform%%3A+%s", version, os.arch()),
format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.exe", version, version),
- format("https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases/xmake-%s.exe.zip", version),
+ format("https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@master/xmake-%s.exe.zip", version),
format("https://gitlab.com/xmake-mirror/xmake-releases/raw/master/xmake-%s.exe.zip", version)}
else
-- regard as a git branch, fetch from ci