From 8bd871490d9bfa090bc7f70527d776c4e6c822fd Mon Sep 17 00:00:00 2001 From: Emily Ball Date: Fri, 29 Oct 2021 15:10:38 -0700 Subject: [PATCH] chore: cleanup cloud RAD generation Updating cloud rad generation to support [java-shared-config/pull/344](https://github.com/googleapis/java-shared-config/pull/344) updates and removing inclusion of README as we're not currently supporting this feature yet --- .../java_library/.kokoro/release/publish_javadoc11.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc11.sh b/synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc11.sh index 337850a14..56a6170fa 100755 --- a/synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc11.sh +++ b/synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME={{ metadata['repo']['distribution_name'].split(':')|last }} export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) -# V3 generates docfx yml from javadoc -# generate yml -mvn clean site -B -q -P docFX - -# copy README to docfx-yml dir and rename index.md -cp README.md target/docfx-yml/index.md -# copy CHANGELOG to docfx-yml dir and rename history.md +# cloud RAD generation +mvn clean javadoc:aggregate -B -q -P docFX +# include CHANGELOG cp CHANGELOG.md target/docfx-yml/history.md pushd target/docfx-yml