From e7e5011653c9ec6a1964716ad40f0fd754eb2964 Mon Sep 17 00:00:00 2001 From: Vinicius Mignot Date: Mon, 24 Jun 2024 15:46:16 -0300 Subject: [PATCH] fix(update.sh): use kbt version from kong repo --- update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 63a98227..fcd3ca28 100755 --- a/update.sh +++ b/update.sh @@ -47,8 +47,7 @@ function get_url() { hub --version &> /dev/null || die "hub is not in PATH. Get it from https://github.com/github/hub" -#kbt_in_kong_v=$(curl -sL https://raw.githubusercontent.com/Kong/kong/$version/.requirements | grep 'KONG_BUILD_TOOLS_VERSION\=' | awk -F"=" '{print $2}' | tr -d "'[:space:]") -kbt_in_kong_v=4.33.19 +kbt_in_kong_v=$(curl -sL https://raw.githubusercontent.com/Kong/kong/$version/.requirements | grep 'KONG_BUILD_TOOLS_VERSION\=' | awk -F"=" '{print $2}' | tr -d "'[:space:]") if [[ -n "$kbt_in_kong_v" ]]; then sed -i.bak 's/KONG_BUILD_TOOLS?=.*/KONG_BUILD_TOOLS?='$kbt_in_kong_v'/g' Makefile fi