Skip to content

Commit

Permalink
chore: copy README to docfx-yml dir (#1163)
Browse files Browse the repository at this point in the history
* chore: copy README to docfx-yml dir

- also cleaning up uneccessary dash in destination_prefix

* chore: update path

Source-Author: Emily Ball <emilyball@google.com>
Source-Date: Thu Mar 4 11:56:04 2021 -0800
Source-Repo: googleapis/synthtool
Source-Sha: d0bdade9a962042dc0f770cf631086f3db59b5b0
Source-Link: googleapis/synthtool@d0bdade
  • Loading branch information
yoshi-automation committed Mar 5, 2021
1 parent 4e78101 commit b7b9fc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .kokoro/release/publish_javadoc11.sh
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigquery.git",
"sha": "7cb21503b44b2225d52c298d6cc698a1335542fa"
"sha": "4e781017adc4f4ce574250baba3e30349aaf5d75"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
"sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0"
}
}
],
Expand Down

0 comments on commit b7b9fc4

Please sign in to comment.