From fde42b28c54b2111d29ce695e4f3a17ec6bb5b89 Mon Sep 17 00:00:00 2001 From: David Cui Date: Mon, 4 Apr 2022 10:14:25 -0700 Subject: [PATCH] change opensearch_build expression Signed-off-by: David Cui --- reports-scheduler/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports-scheduler/build.gradle b/reports-scheduler/build.gradle index 4dff49eb..5e00d495 100644 --- a/reports-scheduler/build.gradle +++ b/reports-scheduler/build.gradle @@ -12,7 +12,7 @@ buildscript { opensearch_group = "org.opensearch" opensearch_version = System.getProperty("opensearch.version", "2.0.0-alpha1-SNAPSHOT") // 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT - opensearch_build = opensearch_version.replaceAll(/([\d.]*.\d+(?!.\d))/, '$1.0') + opensearch_build = opensearch_version.replaceAll(/([\d.]*\.\d+(?!\.\d))/, '$1.0') common_utils_version = System.getProperty("common_utils.version", opensearch_build) job_scheduler_version = System.getProperty("job_scheduler.version", opensearch_build) kotlin_version = System.getProperty("kotlin.version", "1.6.0")