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

Commit 2f1c5f62 authored by Scott Mertz's avatar Scott Mertz
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: I77c924a13122c8e1d9af14501e46bc532f7aefbd
parent f8ecef4b
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -230,7 +230,12 @@ DEVICE_PACKAGE_OVERLAYS += vendor/cm/overlay/common

PRODUCT_VERSION_MAJOR = 13
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