Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bootstrapper code clean up #11963

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions containers/python-bootstrap-container/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ sed -i -e "s|apiProductDocumentation|$PRODUCT_DOCS_URL|" "${WORKSPACE_DIR}/${MON
# If the API is `cloud`, the docs will be published to `cloud.google.com`.
# For non-cloud, the docs will be published to `googleapis.dev`.
if [[ $FOLDER_NAME =~ "cloud" ]]; then
CLIENT_DOCS_URL="$(echo https://cloud.google.com/python/docs/reference/$FOLDER_NAME/latest)"
CLIENT_DOCS_URL="https://cloud.google.com/python/docs/reference/$FOLDER_NAME/latest"
else
CLIENT_DOCS_URL="$(echo https://googleapis.dev/python/$FOLDER_NAME/latest)"
CLIENT_DOCS_URL="https://googleapis.dev/python/$FOLDER_NAME/latest"
fi

# Update clientDocumentation in .repo-metadata.json
Expand Down
Loading