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(maven): Use consistent precision for extended ranges #6623
fix(maven): Use consistent precision for extended ranges #6623
Conversation
lib/versioning/maven/index.spec.ts
Outdated
['[1.8,1.9.0.0)', '1.10.1', '[1.8,1.10.1.0)'], | ||
|
||
['[1.8,1.9)', '1.9.1', '[1.8,1.9)'], | ||
['[1.8,1.9)', '1.10.0', '[1.9,1.10)'], |
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.
If new value is 1.10.0 then shouldn't it be [1.10,1.11) ?
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.
Agree, it would look better in this context. What upgrade for [1.8, 1.9]
and 1.10.0
would be better:[1.8, 1.10]
or [1.9, 1.10]
? Btw probably we need to think about range strategies other than auto
for maven.
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.
I think it should be 1.11)
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.
Okay, take a look again, I've made a slightly different implementation
🎉 This PR is included in version 21.21.6 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #6620