diff --git a/src/build.sh b/src/build.sh index 4f07b336247254c13c50fe9c7459551da19615ee..a3848a5465628a3556caaff1b0a3ba77f2132119 100755 --- a/src/build.sh +++ b/src/build.sh @@ -353,7 +353,7 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then fi if [ "$IS_EMULATOR" = true -a "$BACKUP_EMULATOR" = true ]; then - EMULATOR_ARCHIVE="e-android$android_version-eng-$currentdate-linux-x86-img.zip" + EMULATOR_ARCHIVE="IMG-e-`grep lineage.version system/build.prop | sed s/#.*// | sed s/.*=// | tr -d \\n`.zip" mv ../../../host/linux-x86/sdk_addon/*-img.zip "$ZIP_DIR/$zipsubdir/$EMULATOR_ARCHIVE" pushd "$ZIP_DIR/$zipsubdir" sha256sum "$EMULATOR_ARCHIVE" > "$EMULATOR_ARCHIVE.sha256sum"