From e52fd93be5cf2d7fef22d188c0a4a9a8ff5a1e10 Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Mon, 5 Jun 2023 10:47:41 +0800 Subject: [PATCH] Use v1.2 branch from the harvester/harvester repo Signed-off-by: Kiefer Chang --- scripts/build | 2 +- scripts/build-bundle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build b/scripts/build index 83cbf0cf3..76b48aa3a 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.2 --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester fi source ${SCRIPTS_DIR}/version-harvester $harvester_path diff --git a/scripts/build-bundle b/scripts/build-bundle index c6e535d1f..7b6c9f817 100755 --- a/scripts/build-bundle +++ b/scripts/build-bundle @@ -34,7 +34,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.2 --single-branch --depth 1 https://github.com/harvester/harvester.git /tmp/harvester harvester_path=/tmp/harvester fi