0.3.1
This commit is contained in:
1 parent
a8dc8efb00
commit
2a73e8eafa
5 files changed
+12
-13
No files matched your search
@@ -23,7 +23,8 @@ function Version.VersionChecker(repoPath)
|
||||
local latest = response.tag_name:match('%d+%.%d+%.%d+')
|
||||
if not latest then return Prints.Error(failure) end
|
||||
|
||||
if latest == version then return print(('^2 %s is on the latest version.^0'):format(resource)) end
|
||||
--if latest == version then return print(('^2 %s is on the latest version.^0'):format(resource)) end
|
||||
if latest == version then return end
|
||||
local currentVersion, latestVersion = version:gsub('%D', ''), latest:gsub('%D', '')
|
||||
|
||||
if currentVersion < latestVersion then
|
||||
|
||||
Reference in new issue
Block a user