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 77    command : " .ci/release_central.sh" 
88    artifact_paths :
99      - " .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" 
1019
1120# notify:
1221#   - slack: "#devtools-notify"
Original file line number Diff line number Diff line change 188188
189189if  [[ " $CMD "   ==  " release"   ]];  then 
190190  rm -rf .ci/output/repository
191+   rm -rf signed-artifacts
191192  build_image
192193  echo  -e " \033[34;1mINFO:\033[0m Building version ${VERSION} \033[0m" 
193194
194195  if  [[ " $DRY_RUN "   =  " true"   ]];  then 
195196    echo  " Dry run: building and publishing to the local repository" 
196-     gradle_task=" publishAllPublicationsToDryRunRepository " 
197+     gradle_task=" publishForReleaseManager " 
197198  else 
198199    echo  " Releasing to Maven snapshot repo" 
199200    gradle_task=" publishToSonatype closeAndReleaseStagingRepositories" 
@@ -203,6 +204,9 @@ if [[ "$CMD" == "release" ]]; then
203204    -v /tmp/secured:/tmp/secured \
204205    $docker_image  \
205206    $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
206210fi 
207211
208212if  [[ " $CMD "   ==  " bump"   ]];  then 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments