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 | eb3a286 | 2021-04-15 13:00:40 -0400 | [diff] [blame^] | 4 | BLISS_VERSION_MINOR = 2 |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 5 | # BLISS_VERSION_MAINTENANCE = Stable |
| 6 | |
Jackeagle | ee73e6c | 2020-04-22 17:32:53 +0200 | [diff] [blame] | 7 | # Bliss Android version |
| 8 | BLISS_VERSION_STATIC = 11.0 |
| 9 | |
Jackeagle | a1d9816 | 2020-10-04 06:00:55 -0400 | [diff] [blame] | 10 | # Set Bliss Build Variant |
| 11 | BLISS_BUILD_VARIANT ?= gapps |
| 12 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 13 | #ifdef BLISS_VERSION_MAINTENANCE |
| 14 | # VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)-$(BLISS_VERSION_MAINTENANCE) |
| 15 | #else |
| 16 | VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR) |
| 17 | #endif |
| 18 | |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 19 | TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE)) |
| 20 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 21 | # Set BLISS_BUILDTYPE |
| 22 | ifdef BLISS_NIGHTLY |
| 23 | BLISS_BUILDTYPE := NIGHTLY |
| 24 | endif |
| 25 | ifdef BLISS_EXPERIMENTAL |
| 26 | BLISS_BUILDTYPE := EXPERIMENTAL |
| 27 | endif |
| 28 | #ifdef BLISS_MAINTENANCE |
| 29 | # BLISS_BUILDTYPE := MAINTENANCE |
| 30 | #endif |
| 31 | # Set Unofficial if no buildtype set (Buildtype should ONLY be set by BLISS Devs!) |
| 32 | ifdef BLISS_BUILDTYPE |
| 33 | else |
| 34 | BLISS_BUILDTYPE := UNOFFICIAL |
| 35 | endif |
| 36 | |
| 37 | # Set BLISS version |
| 38 | ifdef BLISS_RELEASE |
| 39 | BLISS_VERSION := Bliss-v$(VERSION) |
| 40 | else |
Jackeagle | a1d9816 | 2020-10-04 06:00:55 -0400 | [diff] [blame] | 41 | 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] | 42 | endif |
| 43 | |
| 44 | BLISS_DISPLAY_VERSION := $(VERSION) |
| 45 | BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE) |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 46 | BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 47 | |