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

Zero padding is not done with CalVer #159

Closed TheBlusky closed 4 months ago

TheBlusky commented 4 months ago

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

dvershinin commented 4 months ago

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.

TheBlusky commented 4 months ago

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

Thanks for pointing it out !