Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 1 | # Versioning System For Bliss |
| 2 | # Bliss RELEASE VERSION |
Jackeagle | 71dd37e | 2022-08-25 10:06:08 -0400 | [diff] [blame] | 3 | BLISS_VERSION_MAJOR = 16 |
| 4 | BLISS_VERSION_MINOR = 0 |
Jackeagle | 8e82369 | 2021-11-10 15:20:40 +0100 | [diff] [blame] | 5 | BLISS_CODENAME = Arcadia |
Jackeagle | 9e9deed | 2022-01-02 05:51:22 +0100 | [diff] [blame] | 6 | #BLISS_VERSION_MAINTENANCE = Beta |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 7 | |
Alex | bff99c9 | 2019-02-20 21:01:28 -0600 | [diff] [blame] | 8 | ifneq ($(SIGNING_KEYS),) |
| 9 | PRODUCT_DEFAULT_DEV_CERTIFICATE := $(SIGNING_KEYS)/releasekey |
| 10 | endif |
| 11 | |
Jackeagle | ee73e6c | 2020-04-22 17:32:53 +0200 | [diff] [blame] | 12 | # Bliss Android version |
Jackeagle | 71dd37e | 2022-08-25 10:06:08 -0400 | [diff] [blame] | 13 | BLISS_VERSION_STATIC = 13.0 |
Jackeagle | ee73e6c | 2020-04-22 17:32:53 +0200 | [diff] [blame] | 14 | |
Jackeagle | a1d9816 | 2020-10-04 06:00:55 -0400 | [diff] [blame] | 15 | # Set Bliss Build Variant |
Jackeagle | 2532fce | 2021-10-10 22:32:41 -0400 | [diff] [blame] | 16 | BLISS_BUILD_VARIANT ?= vanilla |
Jackeagle | a1d9816 | 2020-10-04 06:00:55 -0400 | [diff] [blame] | 17 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 18 | #ifdef BLISS_VERSION_MAINTENANCE |
Jackeagle | 9e9deed | 2022-01-02 05:51:22 +0100 | [diff] [blame] | 19 | # VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)-$(BLISS_VERSION_MAINTENANCE) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 20 | #else |
Jackeagle | 9e9deed | 2022-01-02 05:51:22 +0100 | [diff] [blame] | 21 | VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 22 | #endif |
| 23 | |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 24 | TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE)) |
| 25 | |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 26 | # Set BLISS_BUILDTYPE |
| 27 | ifdef BLISS_NIGHTLY |
| 28 | BLISS_BUILDTYPE := NIGHTLY |
| 29 | endif |
| 30 | ifdef BLISS_EXPERIMENTAL |
| 31 | BLISS_BUILDTYPE := EXPERIMENTAL |
| 32 | endif |
| 33 | #ifdef BLISS_MAINTENANCE |
| 34 | # BLISS_BUILDTYPE := MAINTENANCE |
| 35 | #endif |
| 36 | # Set Unofficial if no buildtype set (Buildtype should ONLY be set by BLISS Devs!) |
| 37 | ifdef BLISS_BUILDTYPE |
| 38 | else |
| 39 | BLISS_BUILDTYPE := UNOFFICIAL |
| 40 | endif |
| 41 | |
| 42 | # Set BLISS version |
| 43 | ifdef BLISS_RELEASE |
Jackeagle | 5e95a0d | 2021-11-10 15:35:12 +0100 | [diff] [blame] | 44 | BLISS_BUILD_ZIP := Bliss-v$(VERSION) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 45 | else |
Jackeagle | cc15570 | 2021-11-11 09:37:51 +0100 | [diff] [blame] | 46 | BLISS_BUILD_ZIP := 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] | 47 | endif |
| 48 | |
Jackeagle | 5e95a0d | 2021-11-10 15:35:12 +0100 | [diff] [blame] | 49 | BLISS_DEVICE := $(BLISS_BUILD) |
| 50 | BLISS_VERSION := $(VERSION) |
Jackeagle | 59f7d84 | 2016-10-25 05:41:13 -0400 | [diff] [blame] | 51 | BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE) |
Jackeagle | 644dd9d | 2019-09-16 10:01:03 -0400 | [diff] [blame] | 52 | BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d) |
Jackeagle | f8dd3cf | 2021-07-10 19:37:57 +0200 | [diff] [blame] | 53 | BLISS_BUILD_TIMESTAMP := $(shell date +%Y%m%d) |