Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the case where JF_RELEASES_REPO is set.
Browse files Browse the repository at this point in the history
florianbehrens committed Dec 4, 2024
1 parent f96ad2f commit 9cdd8de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/gitlab/v2/.setup-jfrog-unix.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
- |
if [ -z "${JF_RELEASES_REPO}" ]
then
BASE_URL="https://releases.jfrog.io/artifactory"
BASE_URL="https://releases.jfrog.io/artifactory/jfrog-cli"
AUTH_HEADER=""
echo "Downloading directly from releases.jfrog.io..."
else
@@ -42,9 +42,9 @@
if echo "${OSTYPE}" | grep -q darwin; then
CLI_OS="mac"
if [[ $(uname -m) == 'arm64' ]]; then
URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-mac-arm64/jf"
URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-mac-arm64/jf"
else
URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-mac-386/jf"
URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-mac-386/jf"
fi
FILE_NAME="jf"
else
@@ -77,7 +77,7 @@
exit -1
;;
esac
URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-${CLI_OS}-${ARCH}/jf"
URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-${CLI_OS}-${ARCH}/jf"
FILE_NAME="jf"
fi

0 comments on commit 9cdd8de

Please sign in to comment.