From 832bc2610c8ee8ca010253062104d83bbb0158dd Mon Sep 17 00:00:00 2001 From: John Mazanec Date: Fri, 5 Apr 2024 08:43:42 -0700 Subject: [PATCH] Fix script to pick up correct zip Signed-off-by: John Mazanec --- 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"