move master to be 0.21.0 Beta1 snap

This commit is contained in:
Shay Banon 2012-10-22 01:51:20 +02:00
parent fe980343be
commit 6ec0071fa4
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>0.20.0.RC1</version>
<version>0.21.0.Beta1</version>
<packaging>jar</packaging>
<description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description>
<inceptionYear>2009</inceptionYear>

View File

@ -89,7 +89,10 @@ public class Version implements Serializable {
public static final int V_0_20_0_RC1_ID = /*00*/200051;
public static final Version V_0_20_0_RC1 = new Version(V_0_20_0_RC1_ID, false);
public static final Version CURRENT = V_0_20_0_RC1;
public static final int V_0_21_0_Beta1_ID = /*00*/210001;
public static final Version V_0_21_0_Beta1 = new Version(V_0_21_0_Beta1_ID, false);
public static final Version CURRENT = V_0_21_0_Beta1;
public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt());
@ -97,6 +100,9 @@ public class Version implements Serializable {
public static Version fromId(int id) {
switch (id) {
case V_0_21_0_Beta1_ID:
return V_0_21_0_Beta1;
case V_0_20_0_RC1_ID:
return V_0_20_0_RC1;