Skip to content

Commit

Permalink
Add version 1.2.3. (#1760)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@dblock.org>
  • Loading branch information
dblock authored Dec 17, 2021
1 parent 4b97713 commit bbb6e65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ BWC_VERSION:
- "1.2.0"
- "1.2.1"
- "1.2.2"
- "1.2.3"
- "1.3.0"
1 change: 1 addition & 0 deletions server/src/main/java/org/opensearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ 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 V_1_2_3 = new Version(1020399, org.apache.lucene.util.Version.LUCENE_8_10_1);
public static final Version V_1_3_0 = new Version(1030099, 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_8_10_1);
public static final Version CURRENT = V_2_0_0;
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 bbb6e65

Please sign in to comment.