1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

DEVICE -> codename

This commit is contained in:
Pete 2024-09-02 18:32:22 +01:00
parent eb2e8ae2ec
commit 707508ddbe

@ -215,9 +215,9 @@ for codename in ${devices//,/ }; do
if [ "$CALL_REPO_INIT" = true ]; then if [ "$CALL_REPO_INIT" = true ]; then
echo ">> [$(date)] (Re)initializing branch repository" | tee -a "$repo_log" echo ">> [$(date)] (Re)initializing branch repository" | tee -a "$repo_log"
if [ "$LOCAL_MIRROR" = true ]; then if [ "$LOCAL_MIRROR" = true ]; then
( yes||: ) | repo init -u https://github.com/LineageOS/android.git --reference "$MIRROR_DIR" -b "$branch" -g default,-darwin,-muppets,muppets_"${DEVICE}" --git-lfs &>> "$repo_log" ( yes||: ) | repo init -u https://github.com/LineageOS/android.git --reference "$MIRROR_DIR" -b "$branch" -g default,-darwin,-muppets,muppets_"${codename}" --git-lfs &>> "$repo_log"
else else
( yes||: ) | repo init -u https://github.com/LineageOS/android.git -b "$branch" -g default,-darwin,-muppets,muppets_"${DEVICE}" --git-lfs &>> "$repo_log" ( yes||: ) | repo init -u https://github.com/LineageOS/android.git -b "$branch" -g default,-darwin,-muppets,muppets_"${codename}" --git-lfs &>> "$repo_log"
fi fi
else else
echo ">> [$(date)] Calling repo init disabled" echo ">> [$(date)] Calling repo init disabled"