Skip to content

Commit

Permalink
chore: Update publish_javadoc.sh (#713)
Browse files Browse the repository at this point in the history
* (chore) Update publish_javadoc.sh

* add `export` to the envVar's to make sure maven knows about them.
* report the Java version

* chore: update script

* remove `java -version`

Co-authored-by: Jeffrey Rennie <rennie@google.com>

Source-Author: Les Vogel <lesv@users.noreply.github.com>
Source-Date: Mon Dec 7 09:37:58 2020 -0800
Source-Repo: googleapis/synthtool
Source-Sha: 5d11bd2888c38ce1fb6fa6bf25494a4219a73928
Source-Link: googleapis/synthtool@5d11bd2
  • Loading branch information
yoshi-automation committed Dec 8, 2020
1 parent 20aef28 commit 55a2cf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .kokoro/release/publish_javadoc.sh
Expand Up @@ -38,8 +38,8 @@ python3 -m pip install gcp-docuploader
# compile all packages
mvn clean install -B -q -DskipTests=true

NAME=google-cloud-bigquerystorage
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
export NAME=google-cloud-bigquerystorage
export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)

# build the docs
mvn site -B -q
Expand All @@ -59,7 +59,8 @@ python3 -m docuploader upload . \

popd

# V2
# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates.

mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/"

pushd target/devsite/reference
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -11,7 +11,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigquerystorage.git",
"sha": "5bb7267a7426cf2d8903a8e02b32d94cf344a2ef"
"sha": "20aef28ee5fc0f7b633e50734266bf614c19502d"
}
},
{
Expand Down Expand Up @@ -50,7 +50,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "943bb78606d035001123030067dffcc34f4645f2"
"sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928"
}
}
],
Expand Down

0 comments on commit 55a2cf5

Please sign in to comment.