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

Commit 01e2b557 authored by Abhisek Devkota's avatar Abhisek Devkota
Browse files

Allow maintenance versions to be ignored

CyanogenMod builds shouldn't show maintenance versions.  Allow the
environment to override this behavior instead

CYNGNOS-3245

Change-Id: Ib9146724544ec275bd65b5a863cb4a7e7c429aed
parent 3c8c85ec
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -237,7 +237,12 @@ PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common

PRODUCT_VERSION_MAJOR = 12
PRODUCT_VERSION_MINOR = 1
PRODUCT_VERSION_MAINTENANCE = 1
ifeq ($(TARGET_VENDOR_SHOW_MAINTENANCE_VERSION),true)
    PRODUCT_VERSION_MAINTENANCE := 1
else
    # 0 is ignored
    PRODUCT_VERSION_MAINTENANCE := 0
endif

# Set CM_BUILDTYPE from the env RELEASE_TYPE, for jenkins compat