Change BitBucket URLs to GitHub.

Close #72.
This commit is contained in:
Antonin Décimo
2020-09-01 15:26:41 +02:00
parent 48e512b8a5
commit 350cba921b
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ function s.script(project)
prefix = "love-"..tostring(project.loveVersion).."-macos"
bin = prefix.."x-ub.zip"
end
local url = "https://bitbucket.org/rude/love/downloads/"..bin
local url = "https://github.com/love2d/love/releases/download/"..tostring(project.loveVersion).."/"..bin
local cache = utils.cache.."/"..bin
-- Can't cache the archive because luarocks functions use a HEAD

View File

@@ -35,7 +35,7 @@ local function release(script, project, arch)
prefix = "love-"..tostring(project.loveVersion).."-win"
dir, bin = prefix..arch.."/", prefix..arch..".zip"
end
local url = "https://bitbucket.org/rude/love/downloads/"..bin
local url = "https://github.com/love2d/love/releases/download/"..tostring(project.loveVersion).."/"..bin
local cache = utils.cache.."/"..bin
-- Can't cache the archive because luarocks functions use a HEAD