Skip to content

Commit

Permalink
More REPO_REV
Browse files Browse the repository at this point in the history
  • Loading branch information
petefoth authored Sep 4, 2024
1 parent 230b8db commit 8528501
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/new_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ if [ "$LOCAL_MIRROR" = true ]; then
if [ "$INIT_MIRROR" = true ]; then
if [ ! -d .repo ]; then
echo ">> [$(date)] Initializing mirror repository" | tee -a "$repo_log"
( yes||: ) | repo init -u https://github.com/LineageOS/mirror --mirror --no-clone-bundle -p linux --git-lfs &>> "$repo_log"
( yes||: ) | repo init -u https://github.com/LineageOS/mirror --mirror --no-clone-bundle -p linux --repo-rev="${REPO_VERSION}" --git-lfs &>> "$repo_log"
repo version
fi
else
echo ">> [$(date)] Initializing mirror repository disabled" | tee -a "$repo_log"
Expand Down Expand Up @@ -225,6 +226,7 @@ for codename in ${devices//,/ }; do
else
( yes||: ) | repo init -u https://github.com/LineageOS/android.git -b "$branch" -g default,-darwin,-muppets,muppets_"${codename}" --repo-rev="${REPO_VERSION}" --git-lfs &>> "$repo_log"
fi
repo version
else
echo ">> [$(date)] Calling repo init disabled"
fi
Expand Down

0 comments on commit 8528501

Please sign in to comment.