Skip to content

Commit

Permalink
Bump 2.x to 2.12 (#10458)
Browse files Browse the repository at this point in the history
* Bump 2.x to 2.12

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

* Add newline to the end of bwcVerions

Signed-off-by: Peter Nied <petern@amazon.com>

---------

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Peter Nied <petern@amazon.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
  • Loading branch information
reta and peternied authored Oct 6, 2023
1 parent 93f627a commit a66821d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ BWC_VERSION:
- "2.9.0"
- "2.9.1"
- "2.10.0"
- "2.11.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.11.0
opensearch = 2.12.0
lucene = 9.7.0

bundled_jdk_vendor = adoptium
Expand Down
3 changes: 2 additions & 1 deletion libs/core/src/main/java/org/opensearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
public static final Version V_2_9_1 = new Version(2090199, org.apache.lucene.util.Version.LUCENE_9_7_0);
public static final Version V_2_10_0 = new Version(2100099, org.apache.lucene.util.Version.LUCENE_9_7_0);
public static final Version V_2_11_0 = new Version(2110099, org.apache.lucene.util.Version.LUCENE_9_7_0);
public static final Version CURRENT = V_2_11_0;
public static final Version V_2_12_0 = new Version(2120099, org.apache.lucene.util.Version.LUCENE_9_7_0);
public static final Version CURRENT = V_2_12_0;

public static Version fromId(int id) {
final Version known = LegacyESVersion.idToVersion.get(id);
Expand Down

0 comments on commit a66821d

Please sign in to comment.