fix up the version/date so it actually goes in ascending order.

Change-Id: I0172d1e8afd0556a22cbccc93597f33e3b9ca99e
This commit is contained in:
Koushik Dutta 2012-02-24 13:50:18 -08:00
parent 45130b4332
commit 0f1ea3a21d

View File

@ -100,10 +100,10 @@ PRODUCT_VERSION_MAINTENANCE = 0-RC0
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K PRODUCT_BUILD_PROP_OVERRIDES += BUILD_DISPLAY_ID=IML74K
ifdef CM_NIGHTLY ifdef CM_NIGHTLY
CM_VERSION :=$(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-NIGHTLY-$(CM_BUILD) CM_VERSION :=$(PRODUCT_VERSION_MAJOR)-$(shell date +%Y%m%d)-NIGHTLY-$(CM_BUILD)
else else
ifdef CM_SNAPSHOT ifdef CM_SNAPSHOT
CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date +%m%d%Y)-SNAPSHOT-$(CM_BUILD)$(CM_EXTRAVERSION) CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date +%Y%m%d)-SNAPSHOT-$(CM_BUILD)$(CM_EXTRAVERSION)
else else
ifdef CM_RELEASE ifdef CM_RELEASE
CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD) CM_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)$(PRODUCT_VERSION_DEVICE_SPECIFIC)-$(CM_BUILD)