Skip to content

Commit 185476a

Browse files
chore: Update publish_javadoc.sh (#1651)
* (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 <[email protected]> Source-Author: Les Vogel <[email protected]> Source-Date: Mon Dec 7 09:37:58 2020 -0800 Source-Repo: googleapis/synthtool Source-Sha: 5d11bd2888c38ce1fb6fa6bf25494a4219a73928 Source-Link: googleapis/synthtool@5d11bd2
1 parent 98db6ca commit 185476a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.kokoro/release/publish_javadoc.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ python3 -m pip install gcp-docuploader
3838
# compile all packages
3939
mvn clean install -B -q -DskipTests=true
4040

41-
NAME=google-api-client
42-
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
41+
export NAME=google-api-client
42+
export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
4343

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

6060
popd
6161

62-
# V2
62+
# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates.
63+
6364
mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/"
6465

6566
pushd target/devsite/reference

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/google-api-java-client.git",
7-
"sha": "8d6588e037eaf476787b05c6876315908b5e11c1"
7+
"sha": "9e34f37e2ef667507e03cb2d495b2c945851eb30"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "943bb78606d035001123030067dffcc34f4645f2"
14+
"sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928"
1515
}
1616
}
1717
],

0 commit comments

Comments
 (0)