Skip to content

Commit

Permalink
[2.x] Bump Version 2.0 to 2.1
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Mar 22, 2022
1 parent fb76361 commit f41d6a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ BWC_VERSION:
- "1.3.0"
- "1.3.1"
- "1.4.0"
- "2.0.0"
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
opensearch = 2.0.0
opensearch = 2.1.0
lucene = 9.1.0-snapshot-ea989fe8f30

bundled_jdk_vendor = adoptium
Expand Down
3 changes: 2 additions & 1 deletion server/src/main/java/org/opensearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
public static final Version V_1_3_1 = new Version(1030199, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version V_1_4_0 = new Version(1040099, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version V_2_0_0 = new Version(2000099, org.apache.lucene.util.Version.LUCENE_9_1_0);
public static final Version CURRENT = V_2_0_0;
public static final Version V_2_1_0 = new Version(2010099, org.apache.lucene.util.Version.LUCENE_9_1_0);
public static final Version CURRENT = V_2_1_0;

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

0 comments on commit f41d6a4

Please sign in to comment.