Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 348376dc authored by Jackeagle's avatar Jackeagle
Browse files

build.sh: Add superimage build support for Android versions below 12

parent add6be4c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -380,8 +380,12 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
          build_success=true
        fi
      fi
    elif [ "${RELEASE_TYPE}" = "test" ]; then
      if brunch "${DEVICE}" "${BUILD_TYPE}"; then
    elif [ "$android_version_major" -lt "12" ]; then
      if [ "${BUILD_SUPER_IMAGE}" = true ]; then
        if breakfast_device && mka bacon superimage; then
          build_success=true
        fi
      elif brunch "${DEVICE}" "${BUILD_TYPE}"; then
        build_success=true
      fi
    elif breakfast_device; then