Skip to content

Commit

Permalink
release 0.20.0.RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Oct 21, 2012
1 parent c0e2eb5 commit fe98034
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>0.20.0.Beta1-SNAPSHOT</version>
<version>0.20.0.RC1</version>
<packaging>jar</packaging>
<description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description>
<inceptionYear>2009</inceptionYear>
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/org/elasticsearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ public class Version implements Serializable {
public static final int V_0_19_10_ID = /*00*/191099;
public static final Version V_0_19_10 = new Version(V_0_19_10_ID, false);

public static final int V_0_20_0_Beta1_ID = /*00*/200001;
public static final Version V_0_20_0_Beta1 = new Version(V_0_20_0_Beta1_ID, true);
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_Beta1;
public static final Version CURRENT = V_0_20_0_RC1;

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

public static Version fromId(int id) {
switch (id) {
case V_0_20_0_Beta1_ID:
return V_0_20_0_Beta1;
case V_0_20_0_RC1_ID:
return V_0_20_0_RC1;

case V_0_19_0_RC1_ID:
return V_0_19_0_RC1;
Expand Down

0 comments on commit fe98034

Please sign in to comment.