making release bigger that pre-releases
See original GitHub issuei have this comparing in my app, “1.0.3” and “1.0.3-rc1”
i want users to have the possible latest version, so i’m using .isAtLeast()
to compare, which i think returning a wrong answer. here is my code:
Boolean isLatest = new Version("1.0.3-rc1").isAtLeast("1.0.3");
since “1.0.3-rc1” is a pre-release, so it shouldn’t be the latest release when comparing with “1.0.3”.
i might be mistaking, but this is the logic i could understand. Fix my thoughts if i’m wrong.
i have found this docs explaining release hierarchy. link: https://semver.org/#spec-item-11
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
The Magic Prerelease Primer: Everything You Need to Know
Release the Gremlins | Illustration by Izzy ... So, have fun with it! Build something crazy and make sure you explore everything the...
Read more >Your Prerelease Just Got Bigger | WPN - Wizards Play Network
We're making The Brothers' War Prerelease a historic event—WPN stores globally can sell the entire suite of available products for the new ...
Read more >First time attending Pre-Release : r/magicTCG - Reddit
Most Pre-Releases will last for around 5-7 hours, but larger ones may go on for longer. The last few pre-releases I have attended...
Read more >The New Player's Guide To Building a Sealed Constructed ...
MTG - Introduction to Sealed Deck Construction 101 - For Magic: The Gathering Prerelease and Launch. Tolarian Community College•388K views.
Read more >Pre-Release Hype and How To Create It - Audio Issues
The more preparation that's done BEFORE the release means that you will drastically increase your chances of reaching a larger audience and getting...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed with 1.3.0 (12155ac).
thanks! i really appreciate it! now the code is working as Sharp!