diff --git a/scripts/build b/scripts/build index f8e51aed3..58ff3f734 100755 --- a/scripts/build +++ b/scripts/build @@ -11,7 +11,7 @@ cd ${TOP_DIR} harvester_path=../harvester if [ ! -d ${harvester_path} ];then echo "No existing harvester source. Pulling..." - git clone --branch master --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester + git clone --branch v1.5 --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 existing addons source. Pulling..." - git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons + git clone --branch v1.5 --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 55d2fff84..ecb801839 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 existing addons source. Pulling..." - git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons + git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons fi source ${SCRIPTS_DIR}/version-monitoring @@ -95,7 +95,7 @@ mkdir -p ${RANCHERD_IMAGES_DIR} harvester_path=../harvester if [ ! -d ${harvester_path} ];then echo "No existing harvester source. Pulling..." - git clone --branch master --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester + git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester fi # Revert harvester chart version patch to clean dirty git status diff --git a/scripts/test b/scripts/test index 4a64139f1..190650688 100755 --- a/scripts/test +++ b/scripts/test @@ -7,7 +7,7 @@ cd $(dirname $0)/.. addons_path=../addons if [ ! -d ${addons_path} ];then echo "No existing addons source. Pulling..." - git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons + git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons fi cp ${addons_path}/pkg/templates/*.yaml ./pkg/config/templates