Skip to content

Commit

Permalink
release 0.90.0.RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Mar 20, 2013
1 parent f08d458 commit a2f14b6
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.90.0.Beta2-SNAPSHOT</version>
<version>0.90.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 @@ -112,19 +112,19 @@ public class Version implements Serializable {
public static final int V_0_90_0_Beta1_ID = /*00*/900001;
public static final Version V_0_90_0_Beta1 = new Version(V_0_90_0_Beta1_ID, false);

public static final int V_0_90_0_Beta2_ID = /*00*/900002;
public static final Version V_0_90_0_Beta2 = new Version(V_0_90_0_Beta2_ID, true);
public static final int V_0_90_0_RC1_ID = /*00*/900051;
public static final Version V_0_90_0_RC1 = new Version(V_0_90_0_RC1_ID, false);

public static final Version CURRENT = V_0_90_0_Beta2;
public static final Version CURRENT = V_0_90_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_90_0_Beta2_ID:
return V_0_90_0_Beta2;
case V_0_90_0_RC1_ID:
return V_0_90_0_RC1;
case V_0_90_0_Beta1_ID:
return V_0_90_0_Beta1;

Expand Down

0 comments on commit a2f14b6

Please sign in to comment.