Skip to content

Commit

Permalink
fix: correct missing trailing slash in REGISTRY_URL for Databricks CL…
Browse files Browse the repository at this point in the history
…I download

- Fixed a typo by adding a missing trailing slash to the `REGISTRY_URL` in the `curl` command.
- Ensures proper URL construction when downloading the Databricks CLI from custom registries.
  • Loading branch information
GezimSejdiu authored Sep 17, 2024
1 parent dd35f9e commit 9cbd618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ esac
cd "$RUNNER_TEMP"

# Download release archive.
curl -L -s -O "${REGISTRY_URL}databricks/cli/releases/download/v${VERSION}/${FILE}.zip"
curl -L -s -O "${REGISTRY_URL}/databricks/cli/releases/download/v${VERSION}/${FILE}.zip"

# Unzip release archive.
unzip -q "${FILE}.zip" -d .bin
Expand Down

0 comments on commit 9cbd618

Please sign in to comment.