Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not working, while i include only and exclude rc. #96

Closed
Pranav-Lakhani opened this issue Apr 5, 2023 · 2 comments
Closed

It is not working, while i include only and exclude rc. #96

Pranav-Lakhani opened this issue Apr 5, 2023 · 2 comments

Comments

@Pranav-Lakhani
Copy link

Hi,

I am trying to get in my script latest version of lightning which is : lnd v0.16.0-beta

lastversion --only 'beta' https://github.com/lightningnetwork/lnd --format tag
returning me rc release : v0.16.0-beta.rc4 ( where there more latest release and final release are there) I have tried all option but still not getting correct version.

@dvershinin
Copy link
Owner

You need --pre because it is beta you are looking for, and also because that repository hosts a number of software, exclude both rc and the unwanted software tags:

lastversion --pre --exclude "~(cert|kvdb|tlv|rc)" https://github.com/lightningnetwork/lnd --format tag

@dvershinin
Copy link
Owner

That said, in this case I would raise an issue with the upstream. What is their thinking when making tag v0.16.0-beta.rc4. It is confusing what they mean by this. Usually, there is a beta followed by a release candidate. But they have both at the same time... Is it RC4 of beta? Is it beta of RC4? or just RC4 or just beta4 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants