Skip to content

Commit 0716531

Browse files
committed
build no-jdk distributions as part of release build (opensearch-project#4902)
with commit e357246 the `build.sh` has been moved to this repository and with commit dfa1118 the missing no-jdk builds have been added. with these preliminary works done we can now start building the no-jdk distributions as part of the release build so that they can then be published. this is part of opensearch-project/opensearch-build#99. Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com> Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com> Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com> (cherry picked from commit 8c9ca4e)
1 parent fb63589 commit 0716531

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2424
- Added missing no-jdk distributions ([#4722](https://github.com/opensearch-project/OpenSearch/pull/4722))
2525
- Copy `build.sh` over from opensearch-build ([#4887](https://github.com/opensearch-project/OpenSearch/pull/4887))
2626
- Update GeoGrid base class access modifier to support extensibility ([#4921](https://github.com/opensearch-project/OpenSearch/pull/4921))
27+
- Build no-jdk distributions as part of release build ([#4902](https://github.com/opensearch-project/OpenSearch/pull/4902))
2728

2829
### Dependencies
2930
- Bumps `com.diffplug.spotless` from 6.9.1 to 6.10.0

scripts/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ esac
139139

140140
echo "Building OpenSearch for $PLATFORM-$DISTRIBUTION-$ARCHITECTURE"
141141

142-
./gradlew :distribution:$TYPE:$TARGET:assemble -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
142+
./gradlew :distribution:$TYPE:$TARGET:assemble :distribution:$TYPE:no-jdk-$TARGET:assemble -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
143143

144144
# Copy artifact to dist folder in bundle build output
145145
[[ "$SNAPSHOT" == "true" ]] && IDENTIFIER="-SNAPSHOT"

0 commit comments

Comments
 (0)