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 |
| 4 | BLISS_VERSION_MINOR = 0 |
| 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 | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 10 | #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 | |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 16 | TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE)) |
| 17 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 18 | # Set BLISS_BUILDTYPE |
| 19 | ifdef BLISS_NIGHTLY |
| 20 | BLISS_BUILDTYPE := NIGHTLY |
| 21 | endif |
| 22 | ifdef BLISS_EXPERIMENTAL |
| 23 | BLISS_BUILDTYPE := EXPERIMENTAL |
| 24 | endif |
| 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!) |
| 29 | ifdef BLISS_BUILDTYPE |
| 30 | else |
| 31 | BLISS_BUILDTYPE := UNOFFICIAL |
| 32 | endif |
| 33 | |
| 34 | # Set BLISS version |
| 35 | ifdef BLISS_RELEASE |
| 36 | BLISS_VERSION := Bliss-v$(VERSION) |
| 37 | else |
| 38 | BLISS_VERSION := Bliss-v$(VERSION)-$(BLISS_BUILD)-$(BLISS_BUILDTYPE)-$(shell date +%Y%m%d) |
| 39 | endif |
| 40 | |
| 41 | BLISS_DISPLAY_VERSION := $(VERSION) |
| 42 | BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE) |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 43 | BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 44 | |