From 3dd245dbdbfa84f0bbe5a476412d8463fe3e700c Mon Sep 17 00:00:00 2001 From: Tyler Bui-Palsulich <26876514+tbpg@users.noreply.github.com> Date: Mon, 8 Mar 2021 15:53:34 -0500 Subject: [PATCH] fix(internal): fix Bash syntax (#3779) --- internal/kokoro/publish_docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/kokoro/publish_docs.sh b/internal/kokoro/publish_docs.sh index 71c2d59813f..eb257625e5f 100755 --- a/internal/kokoro/publish_docs.sh +++ b/internal/kokoro/publish_docs.sh @@ -35,7 +35,7 @@ if [[ -n "$FORCE_GENERATE_ALL" ]]; then for m in $(find . -name go.mod -execdir go list -m \; | grep -v internal); do godocfx -out obj/api/$m@latest $m done -if [[ -n "$MODULE" ]]; then +elif [[ -n "$MODULE" ]]; then godocfx "$MODULE" else godocfx -project $GCLOUD_TESTS_GOLANG_PROJECT_ID -new-modules cloud.google.com/go