-
Notifications
You must be signed in to change notification settings - Fork 94
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 support for -Dbuild.version_qualifier. #128
Add support for -Dbuild.version_qualifier. #128
Conversation
191d850
to
33b4709
Compare
Building on JDK8 is broken since some upgrades in OpenSearch 2.0, is being removed in #129. |
33b4709
to
011ddc3
Compare
Signed-off-by: dblock <[email protected]>
011ddc3
to
1b24d81
Compare
} | ||
|
||
allprojects { | ||
group 'org.opensearch.commons' | ||
version = opensearch_version - '-SNAPSHOT' + '.0' | ||
version = opensearch_version.tokenize('-')[0] + '.0' |
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.
do we really need to tokenize opensearch version ?
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.
It's things like 1.2.3-alpha1-SNAPSHOT
, so we just need the first part left of the -
or the entire thing if it's 1.2.3. Do you know a better way to do it?
Signed-off-by: dblock <[email protected]> Signed-off-by: Zelin Hao <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock [email protected]
Description
Add support for
-Dbuild.version_qualifier=alpha1
.Issues Resolved
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.