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

Commit 1db7365e authored by Bharath's avatar Bharath
Browse files

Introduce a variable to build USER builds.

Set USER_BUILD to true to build user builds.

Change-Id: Ie1ef4c81e712916cc4aebb452f5a1d48f5ef0110
parent 5fb83f0d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -214,7 +214,10 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then

    if [ "${ENG_BUILD}" = true ]; then
      BRUNCH_DEVICE=lineage_${DEVICE}-eng
    elif [ "${USER_BUILD}" = true ]; then
      BRUNCH_DEVICE=lineage_${DEVICE}-user
    fi

    build_success=false
    if [ "${BUILD_ONLY_SYSTEMIMAGE}" = true ]; then
      breakfast "${BRUNCH_DEVICE}"