dvershinin/lastversion

Pre-release version being picked up as regular release

Closed this issue · 7 comments

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

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

@vaz-ar fixed in v3.5.1

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
$

@devzwf Please check with lastversion 3.5.2

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
$

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

All seems to be good, thank you.