From 6ca3a09eb946ae96e20ca92b3a928b9857789abc Mon Sep 17 00:00:00 2001 From: althafvly Date: Fri, 11 Oct 2024 22:40:59 +0530 Subject: [PATCH] lineage: Include maintenance in version prop --- build/core/main_version.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/core/main_version.mk b/build/core/main_version.mk index fa2807bd4..7af2b3739 100644 --- a/build/core/main_version.mk +++ b/build/core/main_version.mk @@ -4,11 +4,15 @@ ADDITIONAL_SYSTEM_PROPERTIES += \ ro.build.fingerprint=$(BUILD_FINGERPRINT) endif +ifneq ($(PRODUCT_VERSION_MAINTENANCE), 0) + PRODUCT_VERSION_OPTIONAL := .$(PRODUCT_VERSION_MAINTENANCE) +endif + # LineageOS System Version ADDITIONAL_SYSTEM_PROPERTIES += \ ro.lineage.version=$(LINEAGE_VERSION) \ ro.lineage.releasetype=$(LINEAGE_BUILDTYPE) \ - ro.lineage.build.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR) \ + ro.lineage.build.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)$(PRODUCT_VERSION_OPTIONAL) \ ro.modversion=$(LINEAGE_VERSION) \ ro.lineagelegal.url=https://lineageos.org/legal \ ro.elegal.url=https://e.foundation/legal -- GitLab