From 4947bf4599e8fccc575d7ae694d093a21bdb428a Mon Sep 17 00:00:00 2001 From: Pete Date: Sun, 17 Sep 2023 13:53:54 +0100 Subject: [PATCH] Move the -img.zip file to the 'zips' directory --- src/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/build.sh b/src/build.sh index 69039d0..52f5dab 100755 --- a/src/build.sh +++ b/src/build.sh @@ -377,6 +377,12 @@ for branch in ${BRANCH_NAME//,/ }; do mv "$build" "$ZIP_DIR/$zipsubdir/" &>> "$DEBUG_LOG" files_to_hash+=( "$build" ) done + + # Move -img.zip file to the main OUT directory + img_zip_file="lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename-img.zip" + mv "outfile" "$ZIP_DIR/$zipsubdir/$img_zip_file" &>> "$DEBUG_LOG" + files_to_hash+=( "$img_zip_file" ) + cd "$source_dir/out/target/product/$codename/obj/PACKAGING/target_files_intermediates/lineage_$codename-target_files-eng.root/IMAGES/" for image in recovery boot vendor_boot dtbo super_empty vbmeta vendor_kernel_boot; do if [ -f "$image.img" ]; then