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

Move the -img.zip file to the 'zips' directory

This commit is contained in:
Pete 2023-09-17 13:53:54 +01:00
parent 012d43c058
commit 4947bf4599

@ -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