aospa: version: bring back proper zip naming.
OTA doesn´t use zip split anymore, and the zip naming was way too confusing. while unofficial said: aospa-topaz-1-phone1-unofficial-20220904.zip it will now be: aospa-topaz-unofficial-phone1-20220904.zip Same applies for alphas and betas, which used to be aospa-topaz-1-phone1-beta-20220904.zip and now will be aospa-topaz-beta-1-phone1-20220904.zip Signed-off-by: Hernán Castañón <herna@paranoidandroid.co> Change-Id: I32bacbefe409cf11a1c1e8ddff7d93ba07aaa907
This commit is contained in:
parent
2ab42f5bd4
commit
8166679818
|
@ -56,7 +56,15 @@ endif
|
||||||
BUILD_DATE := $(shell date -u +%Y%m%d)
|
BUILD_DATE := $(shell date -u +%Y%m%d)
|
||||||
|
|
||||||
# AOSPA Version
|
# AOSPA Version
|
||||||
AOSPA_VERSION := $(AOSPA_MAJOR_VERSION)-$(AOSPA_MINOR_VERSION)-$(AOSPA_BUILD)-$(AOSPA_BUILD_VARIANT)-$(BUILD_DATE)
|
TMP_AOSPA_VERSION := $(AOSPA_MAJOR_VERSION)-
|
||||||
|
ifeq ($(filter release,$(AOSPA_BUILD_VARIANT)),)
|
||||||
|
TMP_AOSPA_VERSION += $(AOSPA_BUILD_VARIANT)-
|
||||||
|
endif
|
||||||
|
ifeq ($(filter unofficial,$(AOSPA_BUILD_VARIANT)),)
|
||||||
|
TMP_AOSPA_VERSION += $(AOSPA_MINOR_VERSION)-
|
||||||
|
endif
|
||||||
|
TMP_AOSPA_VERSION += $(AOSPA_BUILD)-$(BUILD_DATE)
|
||||||
|
AOSPA_VERSION := $(shell echo $(TMP_AOSPA_VERSION) | tr -d '[:space:]')
|
||||||
|
|
||||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||||
ro.aospa.version=$(AOSPA_VERSION)
|
ro.aospa.version=$(AOSPA_VERSION)
|
||||||
|
|
Loading…
Reference in New Issue