-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fix version check for alpha3 #13242
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
Fix version check for alpha3 #13242
Conversation
Co-authored-by: Subhramit Basu <[email protected]>
@trag-bot didn't find any issues in the code! ✅✨ |
@@ -306,6 +306,13 @@ void stableShouldNotBeUpdatedToBeta() { | |||
assertFalse(stable.shouldBeUpdatedTo(beta)); | |||
} | |||
|
|||
@Test | |||
void alpha3IsNewerThanAlpha2WithoutDot() { | |||
Version alphaNewer = Version.parse("6.0-alpha.3-2025-04-27--c52dc44"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mabye the issue is obsolete because you fixed gitversion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, #13093 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then, this PR is not needed, because there is no dot. See #13093 (comment)
Test:
Then it should not report that a newer version exists. |
when running jabgui from gradle you get version 100 |
Ah, damn it. Then, we tell the CI to generate a binary.
|
The build of this PR is available at https://builds.jabref.org/pull/13242/merge. |
Closes https://github.com/JabRef/jabref-issue-melting-pot/issues/877
We have dot and a version without a dot between the version number.
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if change is visible to the user)