-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add heuristic to determine the baseline version automatically #3
Comments
Hmm removing I wonder if a custom version resolution mechanism could be enabled, so that you may inject your own logic as long as |
Nope, because if the patchlevel version is |
Correct. According to your particular project rules the patch level Current version is set to I'm not saying the idea is without merit, what I'm saying that some rules look to be more specific to the workflow of the projects that you work with. This workflow may not apply to other projects. I think we can come to a compromise and make everyone happy, wouldn't you agree? |
I think is pretty "easy" to serve both use cases: Common steps
Note: This basically comes down to "Only consider the triple of Non-Semver (only API compatiblity between patchlevel releases):
Semver
|
(*) I suppose if one would like to check 2.1.0-SNAPSHOT against 2.0.9 then the baseline has to be made explicit, right? |
Non-Semver2.0.0 => no run Semver2.0.0 => no run ** this made me realize that there is a bug in the description of the semver case. It must read
Yes, If you use non-semver, then releases with a 0 patchlevel likely don't have a binary compatible prior version (or in other words, it's not guranteed that they have one). |
👍 Please remember me to buy you a beverage of your choice if we ever meet. :) 🎉 |
It would be great if the plugin would automatically determine the baseline version automatically, so that I don't have to change it manually between releases.
My project only guarantees API compatibility between patchlevel releases (1.2.1, 1.2.3. 1.2.42, ...), so a simply heuristic could look like
-SNAPSHOT-X
-alphaX
,-betaX
,-rcX
, whereX
is an arbitrary number of digits0
, then don't run clirr because there is no previous release to test againstThe text was updated successfully, but these errors were encountered: