Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 9, 2020
1 parent 9c09c32 commit 944444b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion xmake/actions/update/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 944444b

Please sign in to comment.