From 492edb91b9b3c353e953889f539e10785718a575 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 15 Nov 2017 09:54:32 +0000 Subject: [PATCH] Bump version to 6.0.1 --- core/src/main/java/org/elasticsearch/Version.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/Version.java b/core/src/main/java/org/elasticsearch/Version.java index e1f5a5da14c..e5b2fa25e83 100644 --- a/core/src/main/java/org/elasticsearch/Version.java +++ b/core/src/main/java/org/elasticsearch/Version.java @@ -128,6 +128,9 @@ public class Version implements Comparable { public static final int V_6_0_0_ID = 6000099; public static final Version V_6_0_0 = new Version(V_6_0_0_ID, org.apache.lucene.util.Version.LUCENE_7_0_1); + public static final int V_6_0_1_ID = 6000199; + public static final Version V_6_0_1 = + new Version(V_6_0_1_ID, org.apache.lucene.util.Version.LUCENE_7_0_1); public static final int V_6_1_0_ID = 6010099; public static final Version V_6_1_0 = new Version(V_6_1_0_ID, org.apache.lucene.util.Version.LUCENE_7_1_0); @@ -136,8 +139,6 @@ public class Version implements Comparable { new Version(V_7_0_0_alpha1_ID, org.apache.lucene.util.Version.LUCENE_7_1_0); public static final Version CURRENT = V_7_0_0_alpha1; - // unreleased versions must be added to the above list with the suffix _UNRELEASED (with the exception of CURRENT) - static { assert CURRENT.luceneVersion.equals(org.apache.lucene.util.Version.LATEST) : "Version must be upgraded to [" + org.apache.lucene.util.Version.LATEST + "] is still set to [" + CURRENT.luceneVersion + "]"; @@ -153,6 +154,8 @@ public class Version implements Comparable { return V_7_0_0_alpha1; case V_6_1_0_ID: return V_6_1_0; + case V_6_0_1_ID: + return V_6_0_1; case V_6_0_0_ID: return V_6_0_0; case V_6_0_0_rc2_ID: