File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 7
7
command : " .ci/release_central.sh"
8
8
artifact_paths :
9
9
- " .ci/output/repository/**/*"
10
+ - " signed-artifacts/**/*"
11
+ - wait : ~
12
+ - label : " Publish S3 Artifacts :s3:"
13
+ trigger : unified-release-publish-s3-artifacts
14
+ key : publish-s3-service
15
+ build :
16
+ env :
17
+ DESTINATION_PATH : " s3://artifacts.elastic.co/javadoc/co/elastic/clients/elasticsearch-java/"
18
+ EXTRACT_ARTIFACT : " ${VERSION}/elasticsearch-java-${VERSION}-javadoc.jar"
10
19
11
20
# notify:
12
21
# - slack: "#devtools-notify"
Original file line number Diff line number Diff line change 188
188
189
189
if [[ " $CMD " == " release" ]]; then
190
190
rm -rf .ci/output/repository
191
+ rm -rf signed-artifacts
191
192
build_image
192
193
echo -e " \033[34;1mINFO:\033[0m Building version ${VERSION} \033[0m"
193
194
194
195
if [[ " $DRY_RUN " = " true" ]]; then
195
196
echo " Dry run: building and publishing to the local repository"
196
- gradle_task=" publishAllPublicationsToDryRunRepository "
197
+ gradle_task=" publishForReleaseManager "
197
198
else
198
199
echo " Releasing to Maven snapshot repo"
199
200
gradle_task=" publishToSonatype closeAndReleaseStagingRepositories"
@@ -203,6 +204,9 @@ if [[ "$CMD" == "release" ]]; then
203
204
-v /tmp/secured:/tmp/secured \
204
205
$docker_image \
205
206
$gradle_task
207
+
208
+ mkdir -p signed-artifacts/$VERSION
209
+ cp .ci/output/repository/co/elastic/clients/elasticsearch-java/$VERSION /elasticsearch-java-${VERSION} -javadoc.jar signed-artifacts/$VERSION /elasticsearch-java-${VERSION} -javadoc.jar
206
210
fi
207
211
208
212
if [[ " $CMD " == " bump" ]]; then
You can’t perform that action at this time.
0 commit comments