Skip to content

Commit

Permalink
chore: fix comment in fetch-dashboard-assets.sh (#3546)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored Mar 20, 2024
1 parent 6377982 commit bbcdb28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/fetch-dashboard-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function retry_fetch() {
echo "Failed to download $url"
echo "You may try to set http_proxy and https_proxy environment variables."
if [[ -z "$GITHUB_PROXY_URL" ]]; then
echo "You may try to set GITHUB_PROXY_URL=http://mirror.ghproxy.com/"
echo "You may try to set GITHUB_PROXY_URL=http://mirror.ghproxy.com/https://github.com/"
fi
exit 1
}
Expand All @@ -39,7 +39,7 @@ function retry_fetch() {
retry_fetch "${GITHUB_URL}/GreptimeTeam/dashboard/releases/download/${RELEASE_VERSION}/sha256.txt" sha256.txt

# Download the tar file containing the built dashboard assets.
retry_fetch "${GITHUB_URL}/GreptimeTeam/dashboard/releases/download/$RELEASE_VERSION/build.tar.gz" build.tar.gz
retry_fetch "${GITHUB_URL}/GreptimeTeam/dashboard/releases/download/${RELEASE_VERSION}/build.tar.gz" build.tar.gz

# Verify the checksums match; exit if they don't.
case "$(uname -s)" in
Expand Down

0 comments on commit bbcdb28

Please sign in to comment.