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

Commit 48f11b4

Browse files
chore: Update publish_javadoc.sh (#375)
* (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 e681e99 commit 48f11b4

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-speech
42-
VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
41+
export NAME=google-cloud-speech
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,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-speech.git",
7-
"sha": "e3e29f7663b233be650daf1b54e91c9be31d2550"
7+
"sha": "e681e99243798cb30293ddab747e3f57393d3b3d"
88
}
99
},
1010
{
@@ -27,7 +27,7 @@
2727
"git": {
2828
"name": "synthtool",
2929
"remote": "https://github.com/googleapis/synthtool.git",
30-
"sha": "943bb78606d035001123030067dffcc34f4645f2"
30+
"sha": "5d11bd2888c38ce1fb6fa6bf25494a4219a73928"
3131
}
3232
}
3333
],

0 commit comments

Comments
 (0)