From 5231bd395cd2ad5dd3d801ccf5b2a383e22eed8c Mon Sep 17 00:00:00 2001 From: John Mazanec Date: Fri, 5 Apr 2024 15:22:20 -0700 Subject: [PATCH] Fix script to pick up correct zip (#1592) Signed-off-by: John Mazanec (cherry picked from commit 653e7eb49769a60813a680813ec8df341742883d) --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 700ab5731..a5ab477f3 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -129,7 +129,7 @@ fi ./gradlew publishPluginZipPublicationToMavenLocal -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER -Dopensearch.version=$VERSION # Add lib to zip -zipPath=$(find "$(pwd)" -path \*build/distributions/*.zip) +zipPath=$(find "$(pwd)/build/distributions" -path \*.zip) distributions="$(dirname "${zipPath}")" mkdir $distributions/lib libPrefix="libopensearchknn"