Skip to content

Commit

Permalink
Add zip publishing to Notifications build scripts (#2355)
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Qureshi <[email protected]>
  • Loading branch information
qreshi authored Jul 21, 2022
1 parent 09366a4 commit 25dd674
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/components/notifications-core/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ fi
mkdir -p ./$OUTPUT/plugins
notifCoreZipPath=$(ls core/build/distributions/ | grep .zip)
cp -v core/build/distributions/$notifCoreZipPath ./$OUTPUT/plugins

./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
mkdir -p $OUTPUT/maven/org/opensearch/plugin
cp -r ./build/local-staging-repo/org/opensearch/plugin/opensearch-notifications-core $OUTPUT/maven/org/opensearch/plugin/
3 changes: 3 additions & 0 deletions scripts/components/notifications/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ mkdir -p ./$OUTPUT/plugins
notifCoreZipPath=$(ls notifications/build/distributions/ | grep .zip)
cp -v notifications/build/distributions/$notifCoreZipPath ./$OUTPUT/plugins

./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
mkdir -p $OUTPUT/maven/org/opensearch/plugin
cp -r ./build/local-staging-repo/org/opensearch/plugin/notifications $OUTPUT/maven/org/opensearch/plugin/

0 comments on commit 25dd674

Please sign in to comment.