From 8037bbafa67b4bdb222fcb802372c2f7436d86eb Mon Sep 17 00:00:00 2001 From: Cloud Foundry Buildpacks Team Robot Date: Fri, 12 Dec 2025 09:16:13 +0000 Subject: [PATCH 1/2] Updating github-config --- scripts/.util/tools.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/.util/tools.sh b/scripts/.util/tools.sh index a3df593ad..dc8a55776 100644 --- a/scripts/.util/tools.sh +++ b/scripts/.util/tools.sh @@ -148,17 +148,10 @@ function util::tools::cf::install() { exit 1 esac - # Check if cf already exists in the target directory or system PATH - if [[ -f "${dir}/cf" ]] || command -v cf >/dev/null 2>&1; then - util::print::title "CF CLI already installed (using system version)" - cf version - return 0 - fi - if [[ ! -f "${dir}/cf" ]]; then util::print::title "Installing cf" - curl "https://packages.cloudfoundry.org/stable?release=${os}-binary&source=github-rel" \ + curl "https://packages.cloudfoundry.org/stable?release=${os}-binary&version=6.49.0&source=github-rel" \ --silent \ --location \ --output /tmp/cf.tar.gz From d735d883d5ac01c84b092e156177395cdbe164e3 Mon Sep 17 00:00:00 2001 From: Cloud Foundry Buildpacks Team Robot Date: Sat, 13 Dec 2025 09:15:13 +0000 Subject: [PATCH 2/2] Updating github-config --- scripts/.util/tools.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/.util/tools.sh b/scripts/.util/tools.sh index dc8a55776..a3df593ad 100644 --- a/scripts/.util/tools.sh +++ b/scripts/.util/tools.sh @@ -148,10 +148,17 @@ function util::tools::cf::install() { exit 1 esac + # Check if cf already exists in the target directory or system PATH + if [[ -f "${dir}/cf" ]] || command -v cf >/dev/null 2>&1; then + util::print::title "CF CLI already installed (using system version)" + cf version + return 0 + fi + if [[ ! -f "${dir}/cf" ]]; then util::print::title "Installing cf" - curl "https://packages.cloudfoundry.org/stable?release=${os}-binary&version=6.49.0&source=github-rel" \ + curl "https://packages.cloudfoundry.org/stable?release=${os}-binary&source=github-rel" \ --silent \ --location \ --output /tmp/cf.tar.gz