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