Skip to content

Commit db4df4b

Browse files
authored
Increment version to 1.2.1 (#1700)
* Increment version to 1.2.1. Signed-off-by: dblock <[email protected]> * Move Gradle wrapper and precommit checks into OpenSearch repo. (#1664) * Move Gradle checks into OpenSearch repo. Signed-off-by: dblock <[email protected]> * Use working-directory for gradle wrapper validation. Signed-off-by: dblock <[email protected]> * Use https://github.com/gradle/wrapper-validation-action. Signed-off-by: dblock <[email protected]> * Use Java 14. Signed-off-by: dblock <[email protected]>
1 parent c459282 commit db4df4b

File tree

5 files changed

+30
-2
lines changed

5 files changed

+30
-2
lines changed

.ci/bwcVersions

+1
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ BWC_VERSION:
7878
- "1.0.1"
7979
- "1.1.0"
8080
- "1.1.1"
81+
- "1.2.0"

.github/workflows/precommit.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Gradle Precommit
2+
on: [pull_request]
3+
4+
jobs:
5+
precommit:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Set up JDK 14
10+
uses: actions/setup-java@v2
11+
with:
12+
java-version: 14
13+
distribution: adopt
14+
- name: Run Gradle
15+
run: |
16+
./gradlew precommit --parallel

.github/workflows/wrapper.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Validate Gradle Wrapper
2+
on: [push, pull_request]
3+
4+
jobs:
5+
validate:
6+
name: Validate
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: gradle/wrapper-validation-action@v1

buildSrc/version.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
opensearch = 1.2.0
1+
opensearch = 1.2.1
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
@@ -75,7 +75,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
7575
public static final Version V_1_1_0 = new Version(1010099, org.apache.lucene.util.Version.LUCENE_8_9_0);
7676
public static final Version V_1_1_1 = new Version(1010199, org.apache.lucene.util.Version.LUCENE_8_9_0);
7777
public static final Version V_1_2_0 = new Version(1020099, org.apache.lucene.util.Version.LUCENE_8_10_1);
78-
public static final Version CURRENT = V_1_2_0;
78+
public static final Version V_1_2_1 = new Version(1020199, org.apache.lucene.util.Version.LUCENE_8_10_1);
79+
public static final Version CURRENT = V_1_2_1;
7980

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

0 commit comments

Comments
 (0)