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

move boot.img to output directory (#136)

Also move recovery image to out directory
This commit is contained in:
thrillfall 2021-01-14 14:55:32 +01:00 committed by GitHub
parent 30405bb940
commit 3792a9d3b2
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -301,6 +301,8 @@ for branch in ${BRANCH_NAME//,/ }; do
sha256sum "$build" > "$ZIP_DIR/$zipsubdir/$build.sha256sum"
done
find . -maxdepth 1 -name 'lineage-*.zip*' -type f -exec mv {} "$ZIP_DIR/$zipsubdir/" \; &>> "$DEBUG_LOG"
recovery_name=lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename-recovery.img
find . -maxdepth 1 -name 'boot.img' -type f -exec cp {} "$ZIP_DIR/$zipsubdir/${recovery_name}" \; &>> "$DEBUG_LOG"
cd "$source_dir"
build_successful=true
else