The build version is made up of a few parts in non-release builds. Both the snapshot and pre-release qualifiers are appended to it. These qualifiers used to be part of Version, but in 7.0 the qualifiers were made to be found only in the build info. The Build class retains these qualifiers through the compile ES version extracted from the server jar at runtime. Build.qualifiedVersion() is suppose to provide the fully qualified version, including snapshot and pre-release qualifiers. Yet Build.version() also includes this information; there is no distinction since the qualifier was moved to be only in the build info. This commit separates the pre-release qualifier from the version. It maintains bwc in talking to older nodes, passing the fully qualified version there, but in current nodes splits out the pre-release qualifier into a new member of Build. |
||
---|---|---|
.. | ||
archives | ||
bwc | ||
docker | ||
licenses | ||
packages | ||
src | ||
tools | ||
build.gradle |