Skip to content

Commit

Permalink
move to 0.20.6 snap
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Feb 14, 2013
1 parent 20f7c71 commit 4b6b189
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>0.20.5</version>
<version>0.20.6-SNAPSHOT</version>
<packaging>jar</packaging>
<description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description>
<inceptionYear>2009</inceptionYear>
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/org/elasticsearch/Version.java
Expand Up @@ -107,15 +107,19 @@ public class Version implements Serializable {
public static final Version V_0_20_4 = new Version(V_0_20_4_ID, false);
public static final int V_0_20_5_ID = /*00*/200599;
public static final Version V_0_20_5 = new Version(V_0_20_5_ID, false);
public static final int V_0_20_6_ID = /*00*/200699;
public static final Version V_0_20_6 = new Version(V_0_20_6_ID, true);

public static final Version CURRENT = V_0_20_5;
public static final Version CURRENT = V_0_20_6;

public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt());
}

public static Version fromId(int id) {
switch (id) {
case V_0_20_6_ID:
return V_0_20_6;
case V_0_20_5_ID:
return V_0_20_5;
case V_0_20_4_ID:
Expand Down

0 comments on commit 4b6b189

Please sign in to comment.