diff --git a/src/build.sh b/src/build.sh index e4fe4a44736d35d19bb7dfbd2d7acd496873e88e..dc9dca086d99dcbe9d72cd88e8fabccd3d962d5c 100755 --- a/src/build.sh +++ b/src/build.sh @@ -272,9 +272,9 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then # Move produced ZIP files to the main OUT directory echo ">> [$(date)] Moving build artifacts for ${DEVICE} to '$ZIP_DIR/$zipsubdir'" cd "${OUT}" || return 1 - for build in $(ls e-*.zip); do + for build in $(ls e-*.zip IMG-e*.zip); do sha256sum "$build" > "$ZIP_DIR/$zipsubdir/$build.sha256sum" - find . -maxdepth 1 -name 'e-*.zip*' -type f -exec mv {} "$ZIP_DIR/$zipsubdir/" \; + find . -maxdepth 1 \( -name 'e-*.zip*' -o -name 'IMG-e*.zip*' \) -type f -exec mv {} "$ZIP_DIR/$zipsubdir/" \; SKIP_DYNAMIC_IMAGES="odm.img product.img system.img system_ext.img vendor.img" if [ "$BACKUP_IMG" = true ]; then