Skip to content

Commit

Permalink
copy zip to output folder (#89) (#105)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4573cc3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 39e4361 commit 0fc9f19
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 0fc9f19

Please sign in to comment.