We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d5ccde commit 76e35f6Copy full SHA for 76e35f6
internal/kokoro/publish_docs.sh
@@ -19,6 +19,11 @@ set -eo pipefail
19
# Display commands being run.
20
set -x
21
22
+if [ -z "$MODULE" ] ; then
23
+ echo "Must set the MODULE environment variables"
24
+ exit 1
25
+fi
26
+
27
python3 -m pip install --upgrade pip
28
# Workaround for six 1.15 incompatibility issue.
29
python3 -m pip install --use-feature=2020-resolver "gcp-docuploader<2019.0.0"
@@ -27,9 +32,8 @@ cd github/google-cloud-go/internal/godocfx
32
go install
33
cd -
34
30
-if [ -z "$MODULE" ] || [ -z "$VERSION" ] ; then
31
- echo "Must set the MODULE and VERSION environment variables"
- exit 1
35
+if [ -z "$VERSION" ] ; then
36
+ VERSION="latest"
37
fi
38
39
cd $(mktemp -d)
0 commit comments