Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
chore: Update publish_javadoc.sh (#230)
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 authored Dec 10, 2020
1 parent 5edf99e commit 566fcf2
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
Original file line number Diff line number Diff line change
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-shared-dependencies
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
export NAME=google-cloud-shared-dependencies
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-shared-dependencies.git",
"sha": "5cb871ec7f0a69138126fdc0775efb47a9243151"
"sha": "954343304e1a11e74ed20e7eed194e748ff75a97"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "943bb78606d035001123030067dffcc34f4645f2"
"sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928"
}
}
],
Expand Down

0 comments on commit 566fcf2

Please sign in to comment.