mirror of https://github.com/folke/lazy.nvim.git
ci: fix some github urls
This commit is contained in:
parent
8abfed457c
commit
88911547e7
|
@ -68,10 +68,11 @@ function M.build()
|
|||
if rockspec then
|
||||
local url = rockspec.source and rockspec.source.url
|
||||
-- parse github short url
|
||||
if url and url:find("^%a+://github.com/") then
|
||||
url = url:gsub("^%a+://github.com/", "")
|
||||
if url and url:find("://github.com/") then
|
||||
url = url:gsub("^.*://github.com/", "")
|
||||
local parts = vim.split(url, "/")
|
||||
url = parts[1] .. "/" .. parts[2]
|
||||
url = url:gsub("%.git$", "")
|
||||
end
|
||||
if url then
|
||||
rock.url = url
|
||||
|
|
|
@ -373,7 +373,7 @@ return
|
|||
version = "1.5.2-1"
|
||||
}, {
|
||||
name = "nui.nvim",
|
||||
url = "git+https://github.com/MunifTanjim/nui.nvim.git",
|
||||
url = "MunifTanjim/nui.nvim",
|
||||
version = "0.3.0-1"
|
||||
}, {
|
||||
name = "nvim-client",
|
||||
|
@ -570,7 +570,7 @@ return
|
|||
}, {
|
||||
name = "rocks-config.nvim",
|
||||
url = "nvim-neorocks/rocks-config.nvim",
|
||||
version = "2.1.0-1"
|
||||
version = "2.0.1-1"
|
||||
}, {
|
||||
name = "rocks-dev.nvim",
|
||||
url = "nvim-neorocks/rocks-dev.nvim",
|
||||
|
|
Loading…
Reference in New Issue