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

Commit 8dd2a3e

Browse files
chore: Update publish_javadoc.sh (#556)
* (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 09e35f4 commit 8dd2a3e

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-cloud-bigquerydatatransfer
42-
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
41+
export NAME=google-cloud-bigquerydatatransfer
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
@@ -11,7 +11,7 @@
1111
"git": {
1212
"name": ".",
1313
"remote": "https://github.com/googleapis/java-bigquerydatatransfer.git",
14-
"sha": "10ca24cea52ba52f7e3f22282eb0014b1300fe98"
14+
"sha": "4b8d83d1b3c9833d229eb1f0fa129e6057e4d729"
1515
}
1616
},
1717
{
@@ -26,7 +26,7 @@
2626
"git": {
2727
"name": "synthtool",
2828
"remote": "https://github.com/googleapis/synthtool.git",
29-
"sha": "943bb78606d035001123030067dffcc34f4645f2"
29+
"sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928"
3030
}
3131
}
3232
],

0 commit comments

Comments
 (0)