Skip to content

Commit

Permalink
Increment version to 1.2.3 (#1758)
Browse files Browse the repository at this point in the history
* Increment version to 1.2.3.

Signed-off-by: dblock <dblock@amazon.com>

* Use a different version than 1.2.3 in the test.

Signed-off-by: dblock <dblock@dblock.org>
  • Loading branch information
dblock authored Dec 17, 2021
1 parent 529b0cb commit dbc522f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ BWC_VERSION:
- "1.1.1"
- "1.2.0"
- "1.2.1"
- "1.2.2"
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
opensearch = 1.2.2
opensearch = 1.2.3
lucene = 8.10.1

bundled_jdk_vendor = adoptopenjdk
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 @@ -77,7 +77,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
public static final Version V_1_2_0 = new Version(1020099, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version V_1_2_1 = new Version(1020199, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version V_1_2_2 = new Version(1020299, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version CURRENT = V_1_2_2;
public static final Version V_1_2_3 = new Version(1020399, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version CURRENT = V_1_2_3;

public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt());
Expand Down
2 changes: 1 addition & 1 deletion server/src/test/java/org/opensearch/BuildTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void testEqualsAndHashCode() {
);
assertNotEquals(build, differentSnapshot);

Build differentVersion = new Build(build.type(), build.hash(), build.date(), build.isSnapshot(), "1.2.3", build.getDistribution());
Build differentVersion = new Build(build.type(), build.hash(), build.date(), build.isSnapshot(), "0.1.2", build.getDistribution());
assertNotEquals(build, differentVersion);
}

Expand Down

0 comments on commit dbc522f

Please sign in to comment.