Skip to content

Commit

Permalink
copy zip to output folder (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyl authored Jan 4, 2024
1 parent 57cba90 commit 4573cc3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ fi
./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

mkdir -p $OUTPUT/plugins
zipPath=$(find . -path \*build/distributions/*.zip)
distributions="$(dirname "${zipPath}")"
cp ${distributions}/*.zip ./$OUTPUT/plugins

0 comments on commit 4573cc3

Please sign in to comment.