Skip to content

Commit

Permalink
Copy crosslink redirect to source directory before running sync (#4618)
Browse files Browse the repository at this point in the history
* Copy crosslink redirect to source directory before running sync

* Address comments
  • Loading branch information
davidh44 committed Oct 20, 2023
1 parent 040d6f2 commit 6c87ec1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildspecs/release-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ phases:
- mvn clean install javadoc:aggregate -B -Ppublic-javadoc -Dcheckstyle.skip -Dspotbugs.skip -DskipTests -Ddoclint=none -pl '!:protocol-tests,!:protocol-tests-core,!:codegen-generated-classes-test,!:sdk-benchmarks,!:s3-benchmarks,!:module-path-tests,!:test-utils,!:http-client-tests,!:tests-coverage-reporting,!:sdk-native-image-test,!:ruleset-testing-core,!:old-client-version-compatibility-test'
- RELEASE_VERSION=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
-
- aws s3 sync target/site/apidocs/ $DOC_PATH/$RELEASE_VERSION/
- aws s3 sync target/site/apidocs/ $DOC_PATH/$RELEASE_VERSION/ --acl="public-read"
- aws s3 cp ./scripts/crosslink_redirect.html $DOC_PATH/$RELEASE_VERSION/ --acl="public-read"
- aws s3 sync $DOC_PATH/$RELEASE_VERSION/ $DOC_PATH/latest/ --acl=public-read --delete
- jar cf aws-java-sdk-v2-docs.jar -C target/site/apidocs .
- aws s3 cp aws-java-sdk-v2-docs.jar $DOC_PATH/ --acl="public-read"
- aws s3 cp ./scripts/crosslink_redirect.html $DOC_PATH/latest/ --acl="public-read"
- aws s3 cp aws-java-sdk-v2-docs.jar $DOC_PATH/ --acl="public-read"

0 comments on commit 6c87ec1

Please sign in to comment.