diff options
| author | ruki <[email protected]> | 2020-02-09 23:53:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-09 23:53:15 +0800 |
| commit | 944444b2d1f966ffa4aa8dfa71d7b8f4a20b541c (patch) | |
| tree | d9613ab2d208afbc1ee725929b36bb23ba0e7cd7 | |
| parent | 9c09c324372faf7efdb9caedd8da656bf9dc85c5 (diff) | |
update links
| -rwxr-xr-x | scripts/get.sh | 4 | ||||
| -rw-r--r-- | xmake/actions/update/main.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/get.sh b/scripts/get.sh index b9d9b07eb..91e0c367c 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -88,7 +88,7 @@ if [ 'x__local__' != "x$branch" ]; then else gitrepo="https://github.com/xmake-io/xmake.git" #gitrepo_raw="https://github.com/xmake-io/xmake/raw/master" - gitrepo_raw="https://cdn.jsdelivr.net/gh/xmake-io/xmake" + gitrepo_raw="https://cdn.jsdelivr.net/gh/xmake-io/xmake@master" fi fi @@ -174,7 +174,7 @@ elif [ 'x__run__' = "x$branch" ]; then pack=gz fi mkdir -p $projectdir - runfile_url="https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases/xmake-$version.$pack.run" + runfile_url="https://cdn.jsdelivr.net/gh/xmake-mirror/xmake-releases@master/xmake-$version.$pack.run" echo "downloading $runfile_url .." remote_get_content "$runfile_url" > $projectdir/xmake.run if [[ $? != 0 ]]; then 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 |
