Skip to content

Commit dbc522f

Browse files
authored
Increment version to 1.2.3 (#1758)
* Increment version to 1.2.3. Signed-off-by: dblock <[email protected]> * Use a different version than 1.2.3 in the test. Signed-off-by: dblock <[email protected]>
1 parent 529b0cb commit dbc522f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.ci/bwcVersions

+1
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ BWC_VERSION:
8080
- "1.1.1"
8181
- "1.2.0"
8282
- "1.2.1"
83+
- "1.2.2"

buildSrc/version.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
opensearch = 1.2.2
1+
opensearch = 1.2.3
22
lucene = 8.10.1
33

44
bundled_jdk_vendor = adoptopenjdk

server/src/main/java/org/opensearch/Version.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
7777
public static final Version V_1_2_0 = new Version(1020099, org.apache.lucene.util.Version.LUCENE_8_10_1);
7878
public static final Version V_1_2_1 = new Version(1020199, org.apache.lucene.util.Version.LUCENE_8_10_1);
7979
public static final Version V_1_2_2 = new Version(1020299, org.apache.lucene.util.Version.LUCENE_8_10_1);
80-
public static final Version CURRENT = V_1_2_2;
80+
public static final Version V_1_2_3 = new Version(1020399, org.apache.lucene.util.Version.LUCENE_8_10_1);
81+
public static final Version CURRENT = V_1_2_3;
8182

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

server/src/test/java/org/opensearch/BuildTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public void testEqualsAndHashCode() {
179179
);
180180
assertNotEquals(build, differentSnapshot);
181181

182-
Build differentVersion = new Build(build.type(), build.hash(), build.date(), build.isSnapshot(), "1.2.3", build.getDistribution());
182+
Build differentVersion = new Build(build.type(), build.hash(), build.date(), build.isSnapshot(), "0.1.2", build.getDistribution());
183183
assertNotEquals(build, differentVersion);
184184
}
185185

0 commit comments

Comments
 (0)