blob: 493b901e26aa6687a9690c6970b090188898c914 [file] [log] [blame]
Jackeagle59f7d842016-10-25 05:41:13 -04001# Versioning System For Bliss
2# Bliss RELEASE VERSION
3BLISS_VERSION_MAJOR = 14
Jackeagleba9cba52021-05-08 13:58:51 +02004BLISS_VERSION_MINOR = 3
Jackeagle59f7d842016-10-25 05:41:13 -04005# BLISS_VERSION_MAINTENANCE = Stable
6
Alexbff99c92019-02-20 21:01:28 -06007ifneq ($(SIGNING_KEYS),)
8 PRODUCT_DEFAULT_DEV_CERTIFICATE := $(SIGNING_KEYS)/releasekey
9endif
10
Jackeagleee73e6c2020-04-22 17:32:53 +020011# Bliss Android version
12BLISS_VERSION_STATIC = 11.0
13
Jackeaglea1d98162020-10-04 06:00:55 -040014# Set Bliss Build Variant
15BLISS_BUILD_VARIANT ?= gapps
16
Jackeagle59f7d842016-10-25 05:41:13 -040017#ifdef BLISS_VERSION_MAINTENANCE
18# VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)-$(BLISS_VERSION_MAINTENANCE)
19#else
20 VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)
21#endif
22
Jackeagle644dd9d2019-09-16 10:01:03 -040023TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE))
24
Jackeagle59f7d842016-10-25 05:41:13 -040025# Set BLISS_BUILDTYPE
26ifdef BLISS_NIGHTLY
27 BLISS_BUILDTYPE := NIGHTLY
28endif
29ifdef BLISS_EXPERIMENTAL
30 BLISS_BUILDTYPE := EXPERIMENTAL
31endif
32#ifdef BLISS_MAINTENANCE
33# BLISS_BUILDTYPE := MAINTENANCE
34#endif
35# Set Unofficial if no buildtype set (Buildtype should ONLY be set by BLISS Devs!)
36ifdef BLISS_BUILDTYPE
37else
38 BLISS_BUILDTYPE := UNOFFICIAL
39endif
40
41# Set BLISS version
42ifdef BLISS_RELEASE
43 BLISS_VERSION := Bliss-v$(VERSION)
44else
Jackeaglea1d98162020-10-04 06:00:55 -040045 BLISS_VERSION := Bliss-v$(VERSION)-$(BLISS_BUILD)-$(BLISS_BUILDTYPE)-$(BLISS_BUILD_VARIANT)-$(shell date +%Y%m%d)
Jackeagle59f7d842016-10-25 05:41:13 -040046endif
47
48BLISS_DISPLAY_VERSION := $(VERSION)
49BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE)
Jackeagle644dd9d2019-09-16 10:01:03 -040050BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d)
Jackeagle59f7d842016-10-25 05:41:13 -040051