Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 1 | # Versioning System For Bliss |
| 2 | # Bliss RELEASE VERSION |
| 3 | BLISS_VERSION_MAJOR = 14 |
Jackeagle | ba9cba5 | 2021-05-08 13:58:51 +0200 | [diff] [blame] | 4 | BLISS_VERSION_MINOR = 3 |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 5 | # BLISS_VERSION_MAINTENANCE = Stable |
| 6 | |
Alex | bff99c9 | 2019-02-20 21:01:28 -0600 | [diff] [blame] | 7 | ifneq ($(SIGNING_KEYS),) |
| 8 | PRODUCT_DEFAULT_DEV_CERTIFICATE := $(SIGNING_KEYS)/releasekey |
| 9 | endif |
| 10 | |
Jackeagle | ee73e6c | 2020-04-22 17:32:53 +0200 | [diff] [blame] | 11 | # Bliss Android version |
| 12 | BLISS_VERSION_STATIC = 11.0 |
| 13 | |
Jackeagle | a1d9816 | 2020-10-04 06:00:55 -0400 | [diff] [blame] | 14 | # Set Bliss Build Variant |
| 15 | BLISS_BUILD_VARIANT ?= gapps |
| 16 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 17 | #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 | |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 23 | TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE)) |
| 24 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 25 | # Set BLISS_BUILDTYPE |
| 26 | ifdef BLISS_NIGHTLY |
| 27 | BLISS_BUILDTYPE := NIGHTLY |
| 28 | endif |
| 29 | ifdef BLISS_EXPERIMENTAL |
| 30 | BLISS_BUILDTYPE := EXPERIMENTAL |
| 31 | endif |
| 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!) |
| 36 | ifdef BLISS_BUILDTYPE |
| 37 | else |
| 38 | BLISS_BUILDTYPE := UNOFFICIAL |
| 39 | endif |
| 40 | |
| 41 | # Set BLISS version |
| 42 | ifdef BLISS_RELEASE |
| 43 | BLISS_VERSION := Bliss-v$(VERSION) |
| 44 | else |
Jackeagle | a1d9816 | 2020-10-04 06:00:55 -0400 | [diff] [blame] | 45 | BLISS_VERSION := Bliss-v$(VERSION)-$(BLISS_BUILD)-$(BLISS_BUILDTYPE)-$(BLISS_BUILD_VARIANT)-$(shell date +%Y%m%d) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 46 | endif |
| 47 | |
| 48 | BLISS_DISPLAY_VERSION := $(VERSION) |
| 49 | BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE) |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 50 | BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 51 | |