fix: strip leading version of tag names in finding new releases

This commit is contained in:
daimond113 2024-12-15 01:26:40 +01:00
parent d219a8b668
commit e6068b2ef6
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C

View file

@ -118,7 +118,7 @@ for _, binSrc in pathfs.readDir(BINS_SRC_DIR) do
local releasesAfter = {}
local versionIdx = math.huge
for idx, release in releases do
if release.tag_name == version then
if stripLeadingVersion(release.tag_name) == version then
versionIdx = idx
continue
end