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"