From 36b523321e9230e9a3a18fecfcd58e37bcf6b9ef Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Fri, 25 Mar 2022 17:30:01 -0700 Subject: [PATCH] Bump version to 1.3.1 Signed-off-by: Sayali Gaikawad --- .github/workflows/build.yml | 2 +- .github/workflows/bwc.yml | 2 +- .github/workflows/security-tests.yml | 4 ++-- build.gradle | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00644ec2d..bcd78cc21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v2 - name: Build and run Replication tests run: | - ./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.3.0-SNAPSHOT + ./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.3.1-SNAPSHOT - name: Upload failed logs uses: actions/upload-artifact@v2 if: failure() diff --git a/.github/workflows/bwc.yml b/.github/workflows/bwc.yml index d7a3342f0..a407aa089 100644 --- a/.github/workflows/bwc.yml +++ b/.github/workflows/bwc.yml @@ -25,7 +25,7 @@ jobs: - name: Build and run Replication tests run: | echo "Running backwards compatibility tests ..." - ./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.3.0-SNAPSHOT -x test -x IntegTest + ./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.3.1-SNAPSHOT -x test -x IntegTest ./gradlew mixedClusterTask --stacktrace ./gradlew fullRestartClusterTask --stacktrace - name: Upload failed logs diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.yml index 0214cad75..c0d22795d 100644 --- a/.github/workflows/security-tests.yml +++ b/.github/workflows/security-tests.yml @@ -33,11 +33,11 @@ jobs: working-directory: ./security run: | ./gradlew clean build -Dbuild.snapshot=false -x test - cp build/distributions/opensearch-security-1.3.0.0.zip ../src/test/resources/security/plugin/opensearch-security.zip + cp build/distributions/opensearch-security-1.3.1.0.zip ../src/test/resources/security/plugin/opensearch-security.zip - name: Build and run Replication tests run: | ls -al src/test/resources/security/plugin - ./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.3.0-SNAPSHOT -PnumNodes=1 -Psecurity=true + ./gradlew clean release -Dbuild.snapshot=true -Dopensearch.version=1.3.1-SNAPSHOT -PnumNodes=1 -Psecurity=true - name: Upload failed logs uses: actions/upload-artifact@v2 if: failure() diff --git a/build.gradle b/build.gradle index 535cd0846..de7dbb455 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ import org.opensearch.gradle.test.RestIntegTestTask buildscript { ext { isSnapshot = "true" == System.getProperty("build.snapshot", "false") - opensearch_version = System.getProperty("opensearch.version", "1.3.0-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "1.3.1-SNAPSHOT") // Taken from https://github.com/opensearch-project/alerting/blob/main/build.gradle#L33 // 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT opensearch_build = opensearch_version.replaceAll(/(\.\d)([^\d]*)$/, '$1.0$2')