Merge pull request #13634 from clintongormley/version_bump_master
Version bump master
This commit is contained in:
commit
66c53e7f91
|
@ -256,7 +256,9 @@ public class Version {
|
||||||
public static final Version V_1_7_3 = new Version(V_1_7_3_ID, true, org.apache.lucene.util.Version.LUCENE_4_10_4);
|
public static final Version V_1_7_3 = new Version(V_1_7_3_ID, true, org.apache.lucene.util.Version.LUCENE_4_10_4);
|
||||||
|
|
||||||
public static final int V_2_0_0_beta1_ID = 2000001;
|
public static final int V_2_0_0_beta1_ID = 2000001;
|
||||||
public static final Version V_2_0_0_beta1 = new Version(V_2_0_0_beta1_ID, true, org.apache.lucene.util.Version.LUCENE_5_2_1);
|
public static final Version V_2_0_0_beta1 = new Version(V_2_0_0_beta1_ID, false, org.apache.lucene.util.Version.LUCENE_5_2_1);
|
||||||
|
public static final int V_2_0_0_beta2_ID = 2000002;
|
||||||
|
public static final Version V_2_0_0_beta2 = new Version(V_2_0_0_beta2_ID, false, org.apache.lucene.util.Version.LUCENE_5_2_1);
|
||||||
public static final int V_2_0_0_ID = 2000099;
|
public static final int V_2_0_0_ID = 2000099;
|
||||||
public static final Version V_2_0_0 = new Version(V_2_0_0_ID, true, org.apache.lucene.util.Version.LUCENE_5_2_1);
|
public static final Version V_2_0_0 = new Version(V_2_0_0_ID, true, org.apache.lucene.util.Version.LUCENE_5_2_1);
|
||||||
public static final int V_2_1_0_ID = 2010099;
|
public static final int V_2_1_0_ID = 2010099;
|
||||||
|
@ -281,6 +283,8 @@ public class Version {
|
||||||
return V_2_1_0;
|
return V_2_1_0;
|
||||||
case V_2_0_0_ID:
|
case V_2_0_0_ID:
|
||||||
return V_2_0_0;
|
return V_2_0_0;
|
||||||
|
case V_2_0_0_beta2_ID:
|
||||||
|
return V_2_0_0_beta2;
|
||||||
case V_2_0_0_beta1_ID:
|
case V_2_0_0_beta1_ID:
|
||||||
return V_2_0_0_beta1;
|
return V_2_0_0_beta1;
|
||||||
case V_1_7_3_ID:
|
case V_1_7_3_ID:
|
||||||
|
|
|
@ -203,10 +203,6 @@ public class VersionTests extends ESTestCase {
|
||||||
|
|
||||||
// only the latest version for a branch should be a snapshot (ie unreleased)
|
// only the latest version for a branch should be a snapshot (ie unreleased)
|
||||||
String branchName = "" + v.major + "." + v.minor;
|
String branchName = "" + v.major + "." + v.minor;
|
||||||
if (v.equals(Version.V_2_0_0_beta1)) {
|
|
||||||
assertTrue("Remove this once beta1 is released", v.snapshot());
|
|
||||||
continue; // this is just a temporary fix until we have a snapshot for the beta since we now have 2 unreleased version of the same major.minor group
|
|
||||||
}
|
|
||||||
Version maxBranchVersion = maxBranchVersions.get(branchName);
|
Version maxBranchVersion = maxBranchVersions.get(branchName);
|
||||||
if (maxBranchVersion == null) {
|
if (maxBranchVersion == null) {
|
||||||
maxBranchVersions.put(branchName, v);
|
maxBranchVersions.put(branchName, v);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue