dvershinin / lastversion

Find the latest release version of an arbitrary project

Home Page:https://lastversion.getpagespeed.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zero padding is not done with CalVer

TheBlusky opened this issue · comments

Project with incorrect version

https://github.com/pi-hole/docker-pi-hole

To Reproduce

lastversion pi-hole/docker-pi-hole

Expected behavior

2024.06.0

Program output

2024.6.0

If you need the original zero padding, use lastversion https://github.com/pi-hole/docker-pi-hole --format tag
Lastversion will always strip leading zeros from the version components.

Oh, I tried to look for this kind of option.

Thanks for pointing it out !