File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 64
64
[[ " $SNAPSHOT " == " true" ]] && VERSION=$VERSION -SNAPSHOT
65
65
[ -z " $OUTPUT " ] && OUTPUT=artifacts
66
66
67
- mkdir -p $OUTPUT /plugins
68
67
69
68
./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.version_qualifier=$QUALIFIER -Dbuild.snapshot=$SNAPSHOT
70
69
71
- zipPath=$( find . -path \* build/distributions/* .zip)
72
- distributions=" $( dirname " ${zipPath} " ) "
73
-
74
- echo " COPY ${distributions} /*.zip"
75
- cp ${distributions} /* .zip ./$OUTPUT /plugins
70
+ [ -z " $OUTPUT " ] && OUTPUT=artifacts
71
+ mkdir -p $OUTPUT /plugins
72
+ cp ./alerting/build/distributions/* .zip $OUTPUT /plugins
76
73
77
74
./gradlew publishToMavenLocal -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
78
75
./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
You can’t perform that action at this time.
0 commit comments