Skip to content

Commit

Permalink
Move harvester and add-on repos to the v1.4 branches
Browse files Browse the repository at this point in the history
Signed-off-by: Kiefer Chang <[email protected]>
  • Loading branch information
bk201 committed Jul 8, 2024
1 parent c3f79c0 commit 99f7bd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 99f7bd2

Please sign in to comment.