From fdbe2a0b4a79543f8daa2d556b63bc2c468b277b Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 10 Nov 2021 14:53:13 -0800 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 Source-Author: Emily Ball Source-Date: Mon Nov 8 13:23:34 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: 99ea92a109dbcd4e2b8c179e337848ba6a25fe16 Source-Link: https://github.com/googleapis/synthtool/commit/99ea92a109dbcd4e2b8c179e337848ba6a25fe16 --- .kokoro/release/publish_javadoc11.sh | 10 +++------- synth.metadata | 4 ++-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index bb52a13f..bafa1c83 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -36,13 +36,9 @@ mvn clean install -B -q -DskipTests=true export NAME=google-cloud-containeranalysis 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 diff --git a/synth.metadata b/synth.metadata index 2c294f85..ccf8b7cd 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-containeranalysis.git", - "sha": "9e4c9789167892529cd60fd6dc731e654d47167d" + "sha": "6879348f400b676ca6683a3abf2a7ebfce52dc7d" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "717a6a1fe247df095092de1321eadc9da887a06c" + "sha": "99ea92a109dbcd4e2b8c179e337848ba6a25fe16" } } ],