dvershinin / lastversion

Find the latest release version of an arbitrary project
https://lastversion.getpagespeed.com
BSD 2-Clause "Simplified" License
375 stars 33 forks source link

Wrong last version when too much new tags #162

Open ghost opened 3 months ago

ghost commented 3 months ago

Project with incorrect version I wanted to get the last version of zabbix https://github.com/zabbix/zabbix

To Reproduce I did run lastversion --version It returned lastversion 3.5.3, up to date

Then lastversion zabbix and https://lastversion-api.getpagespeed.com/zabbix/zabbix?version returned 6.4.17 each time arround 11am - 17 of July 2024

Expected behavior

I should get the 7.0.0 as it is the new LTS, It was the result I got last week when tried it first.

I believe the problem come from the fact that zabbix does not have releases and only tags, and do create a lot of tags for each pre-versions. Due to this 7.0.0 is no longer on the first tags page that contains only the last 10 tags.