@@ -332,7 +338,26 @@ for branch in ${BRANCH_NAME//,/ }; do
BRUNCH_DEVICE=lineage_${codename}-eng
BRUNCH_DEVICE=lineage_${codename}-eng
fi
fi
if breakfast ${BRUNCH_DEVICE} &>>"$DEBUG_LOG";then
if["$android_version_major"-lt"12"];then
if brunch ${BRUNCH_DEVICE} &>>"$DEBUG_LOG";then
currentdate=$(date +%Y%m%d)
if["$builddate"!="$currentdate"];then
find out/target/product/$codename-maxdepth 1 -name"e-*-$currentdate-*.zip*"-type f -exec sh /root/fix_build_date.sh {}$currentdate$builddate\; &>>"$DEBUG_LOG"
fi
# Move produced ZIP files to the main OUT directory
echo">> [$(date)] Moving build artifacts for $codename to '$ZIP_DIR/$zipsubdir'" | tee-a"$DEBUG_LOG"