summaryrefslogtreecommitdiff
path: root/xmake
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-18 19:12:06 +0800
committerOpportunityLiu <[email protected]>2019-06-18 19:12:06 +0800
commit72f86392dd7bf482f409dfe4dd00219ef422ad9c (patch)
tree24e0a3a7f88cc6d32d8552229a575dbda8c0316f /xmake
parent284857c1a43ce61a9f5433d88414e539f2bdc02a (diff)
support download tag from ci
Diffstat (limited to 'xmake')
-rw-r--r--xmake/actions/update/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 060fe398c..ab17ef135 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -275,7 +275,8 @@ function main()
end
if version:find('.', 1, true) then
- mainurls = {format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.exe", version, version),
+ 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://qcloud.coding.net/u/waruqi/p/xmake-releases/git/raw/master/xmake-%s.exe", version),
format("https://gitlab.com/xmake-mirror/xmake-releases/raw/master/xmake-%s.exe", version)}
else