From 99f7bd208092bf62e0eaa5d11b4780883d44ff77 Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Fri, 5 Jul 2024 15:17:00 +0800 Subject: [PATCH] Move harvester and add-on repos to the v1.4 branches Signed-off-by: Kiefer Chang --- scripts/build | 4 ++-- scripts/build-bundle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build b/scripts/build index ec9ed2b20..3c9727388 100755 --- a/scripts/build +++ b/scripts/build @@ -11,7 +11,7 @@ cd ${TOP_DIR} harvester_path=../harvester if [ ! -d ${harvester_path} ];then echo "No existed harvester source. Pulling..." - git clone --branch master --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester + git clone --branch v1.4 --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester else # When building against locally modified harvester source with # "-v /path/to/local/harvester/repo:/go/src/github.com/harvester/harvester" @@ -30,7 +30,7 @@ fi addons_path=../addons if [ ! -d ${addons_path} ];then echo "No existed addons source. Pulling..." - git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons + git clone --branch v1.4 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons fi source ${SCRIPTS_DIR}/version-harvester $harvester_path diff --git a/scripts/build-bundle b/scripts/build-bundle index e34c97355..25efe1135 100755 --- a/scripts/build-bundle +++ b/scripts/build-bundle @@ -12,7 +12,7 @@ cd ${TOP_DIR} addons_path=../addons if [ ! -d ${addons_path} ];then echo "No existed harvester source. Pulling..." - git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons + git clone --branch v1.4 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons fi source ${SCRIPTS_DIR}/version @@ -40,7 +40,7 @@ mkdir -p ${RANCHERD_IMAGES_DIR} harvester_path=../harvester if [ ! -d ${harvester_path} ];then echo "No existed harvester source. Pulling into /tmp/harvester" - git clone --branch master --single-branch --depth 1 https://github.com/harvester/harvester.git /tmp/harvester + git clone --branch v1.4 --single-branch --depth 1 https://github.com/harvester/harvester.git /tmp/harvester harvester_path=/tmp/harvester fi