summaryrefslogtreecommitdiff
path: root/xmake/actions/update/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-02-08 23:32:30 +0800
committerruki <[email protected]>2019-02-08 15:15:05 +0800
commit04f4888bf721d9d78b0feb56c392122966a36a4e (patch)
tree7f21056ae40f4e0734bd4b77eb8372f5150959fd /xmake/actions/update/main.lua
parent7f5f3b0c1b8ffba6fed1e96fa30fcb5be3defa39 (diff)
update xmake github url
Diffstat (limited to 'xmake/actions/update/main.lua')
-rw-r--r--xmake/actions/update/main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index ae5d78b0f..8efe139f9 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -228,7 +228,7 @@ function main()
environment.enter()
-- sort main urls
- local mainurls = {"https://github.com/tboox/xmake.git", "https://gitlab.com/tboox/xmake.git", "https://gitee.com/tboox/xmake.git"}
+ local mainurls = {"https://github.com/xmake-io/xmake.git", "https://gitlab.com/tboox/xmake.git", "https://gitee.com/tboox/xmake.git"}
fasturl.add(mainurls)
mainurls = fasturl.sort(mainurls)
@@ -256,13 +256,13 @@ function main()
-- get urls on windows
if is_host("windows") then
if version:find('.', 1, true) then
- mainurls = {format("https://github.com/tboox/xmake/releases/download/%s/xmake-%s.exe", version, version),
+ mainurls = {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
local lastest = semver.select("lastest", tags or {}, tags or {}, {})
if lastest then
- mainurls = {format("https://github.com/tboox/xmake/releases/download/%s/xmake-%s.exe", lastest, version),
+ mainurls = {format("https://github.com/xmake-io/xmake/releases/download/%s/xmake-%s.exe", lastest, 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