mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 21:06:46 +00:00
ci: auto-get rockspec mappings for rock name => github short url or url
This commit is contained in:
parent
2ca68f9979
commit
b6eba0d026
7 changed files with 117405 additions and 1 deletions
|
@ -9,6 +9,7 @@ local M = {}
|
|||
---@field patch number
|
||||
---@field prerelease? string
|
||||
---@field build? string
|
||||
---@field input? string
|
||||
local Semver = {}
|
||||
Semver.__index = Semver
|
||||
|
||||
|
@ -90,6 +91,7 @@ function M.version(version)
|
|||
patch = patch == "" and 0 or tonumber(patch),
|
||||
prerelease = prerelease ~= "" and prerelease or nil,
|
||||
build = build ~= "" and build or nil,
|
||||
input = version,
|
||||
}, Semver)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue