dvershinin / lastversion

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

Pre-release version being picked up as regular release #147

Closed Sodki closed 7 months ago

Sodki commented 9 months ago

Project with incorrect version

https://pypi.org/project/pulumi-aws/

To Reproduce

lastversion pulumi-aws

Expected behavior

6.19.0

Program output

6.20.0

The pre-release version is being picked up as a release version.

image

vaz-ar commented 8 months ago

I think that I may have the same issue with https://github.com/jesseduffield/lazygit/releases , where the last release is currently v0.40.2, but there is a pre-0.41 tag:

❯ lastversion --version
lastversion 3.5.0, up to date

❯ lastversion lazygit
0.41

❯ lastversion --formal lazygit
0.40.2
dvershinin commented 8 months ago

@vaz-ar fixed in v3.5.1

devzwf commented 8 months ago

well do not seems to be fixed :


$ lastversion --version
lastversion 3.5.1, up to date
$ lastversion  https://github.com/tailscale/tailscale
1.61.0
$ lastversion --formal  https://github.com/tailscale/tailscale
1.60.1
$
dvershinin commented 8 months ago

@devzwf Please check with lastversion 3.5.2

devzwf commented 8 months ago

seems fixed

lastversion 3.5.2, up to date
$ lastversion  https://github.com/tailscale/tailscale
1.62.0
$ lastversion  --formal https://github.com/tailscale/tailscale
1.62.0
$
dvershinin commented 8 months ago

@Sodki are you still able to reproduce your issue with latest lastversion release?

Sodki commented 7 months ago

All seems to be good, thank you.