blob: 7ebe7dbc4c70999662d8469ccd6cfe246a5fccf5 [file] [log] [blame]
Jackeagle59f7d842016-10-25 05:41:13 -04001# Versioning System For Bliss
2# Bliss RELEASE VERSION
3BLISS_VERSION_MAJOR = 14
4BLISS_VERSION_MINOR = 0
5# BLISS_VERSION_MAINTENANCE = Stable
6
Jackeagleee73e6c2020-04-22 17:32:53 +02007# Bliss Android version
8BLISS_VERSION_STATIC = 11.0
9
Jackeagle59f7d842016-10-25 05:41:13 -040010#ifdef BLISS_VERSION_MAINTENANCE
11# VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)-$(BLISS_VERSION_MAINTENANCE)
12#else
13 VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)
14#endif
15
Jackeagle644dd9d2019-09-16 10:01:03 -040016TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE))
17
Jackeagle59f7d842016-10-25 05:41:13 -040018# Set BLISS_BUILDTYPE
19ifdef BLISS_NIGHTLY
20 BLISS_BUILDTYPE := NIGHTLY
21endif
22ifdef BLISS_EXPERIMENTAL
23 BLISS_BUILDTYPE := EXPERIMENTAL
24endif
25#ifdef BLISS_MAINTENANCE
26# BLISS_BUILDTYPE := MAINTENANCE
27#endif
28# Set Unofficial if no buildtype set (Buildtype should ONLY be set by BLISS Devs!)
29ifdef BLISS_BUILDTYPE
30else
31 BLISS_BUILDTYPE := UNOFFICIAL
32endif
33
34# Set BLISS version
35ifdef BLISS_RELEASE
36 BLISS_VERSION := Bliss-v$(VERSION)
37else
38 BLISS_VERSION := Bliss-v$(VERSION)-$(BLISS_BUILD)-$(BLISS_BUILDTYPE)-$(shell date +%Y%m%d)
39endif
40
41BLISS_DISPLAY_VERSION := $(VERSION)
42BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE)
Jackeagle644dd9d2019-09-16 10:01:03 -040043BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d)
Jackeagle59f7d842016-10-25 05:41:13 -040044