dont ask me please...
parent
9e3c383bc2
commit
5c2e4b89be
|
|
@ -37,7 +37,10 @@ git ls-remote --heads "$PROGRAMM_REPOSITORY" |
|
||||||
# Store branch names in an array
|
# Store branch names in an array
|
||||||
mapfile -t branches
|
mapfile -t branches
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for branch in "${branches[@]}";
|
for branch in "${branches[@]}";
|
||||||
do
|
do
|
||||||
|
echo "cloning $branch"
|
||||||
git clone --depth 1 --branch "$branch" --single-branch "$PROGRAMM_REPOSITORY" "$BRANCHES_FOLDER"/"$branch"
|
git clone --depth 1 --branch "$branch" --single-branch "$PROGRAMM_REPOSITORY" "$BRANCHES_FOLDER"/"$branch"
|
||||||
done
|
done
|
||||||
Loading…
Reference in New Issue