|
@@ -105,7 +105,7 @@ function generate_package(reponame, get_data)
|
|
|
local tmpfile = os.tmpfile({ramdisk = false}) .. ".tar.gz"
|
|
|
repodir = tmpfile .. ".dir"
|
|
|
|
|
|
- file:write(' add_urls("https://' .. host .. '/' .. reponame .. '/-/archive/$(version).tar.gz",\n')
|
|
|
+ file:write(' add_urls("https://' .. host .. '/' .. reponame .. '/archive/refs/tags/$(version).tar.gz",\n')
|
|
|
file:print(' "%s")\n', giturl)
|
|
|
|
|
|
print("downloading %s", url)
|