From c4450f4b4840e206ae7871f4d02cc2ae408ae874 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 4 Mar 2021 14:58:53 -0800 Subject: [PATCH] chore: copy README to docfx-yml dir * chore: copy README to docfx-yml dir - also cleaning up uneccessary dash in destination_prefix * chore: update path Source-Author: Emily Ball Source-Date: Thu Mar 4 11:56:04 2021 -0800 Source-Repo: googleapis/synthtool Source-Sha: d0bdade9a962042dc0f770cf631086f3db59b5b0 Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0 --- .kokoro/release/publish_javadoc11.sh | 5 ++++- synth.metadata | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 13cc1b2558..fe94e4acea 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # 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 + pushd target/docfx-yml # create metadata @@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx- + --destination-prefix docfx diff --git a/synth.metadata b/synth.metadata index e11e23d319..938a331265 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-firestore.git", - "sha": "3d889e6f9fe7cdc2f6d66353619853f6bb824e56" + "sha": "52c6d1da01b2e5705c6c7511157d7e9a18cb33e1" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5" + "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0" } } ],