From 273663cd126606954f9bb5c828d8d157699f493d Mon Sep 17 00:00:00 2001 From: zane-neo Date: Fri, 5 Jan 2024 10:17:50 +0800 Subject: [PATCH] Add publishToMavenLocal (#2461) Signed-off-by: zane-neo --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 4b2893f304..4c4aaf128e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -77,6 +77,7 @@ echo "COPY ${distributions}/*.zip" mkdir -p $OUTPUT/plugins cp ${distributions}/*.zip ./$OUTPUT/plugins +./gradlew publishToMavenLocal -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER ./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER mkdir -p $OUTPUT/maven/org/opensearch cp -r ./build/local-staging-repo/org/opensearch/. $OUTPUT/maven/org/opensearch