blob: 8ed6cc8c6d30b14a0c7bc51e1255623f116b42ba [file] [log] [blame]
Jackeagle59f7d842016-10-25 05:41:13 -04001# Versioning System For Bliss
2# Bliss RELEASE VERSION
3BLISS_VERSION_MAJOR = 14
4BLISS_VERSION_MINOR = 0
5# BLISS_VERSION_MAINTENANCE = Stable
6
7#ifdef BLISS_VERSION_MAINTENANCE
8# VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)-$(BLISS_VERSION_MAINTENANCE)
9#else
10 VERSION := $(BLISS_VERSION_MAJOR).$(BLISS_VERSION_MINOR)
11#endif
12
Jackeagle644dd9d2019-09-16 10:01:03 -040013TARGET_PRODUCT_SHORT := $(subst bliss_,,$(BLISS_BUILDTYPE))
14
Jackeagle59f7d842016-10-25 05:41:13 -040015# Set BLISS_BUILDTYPE
16ifdef BLISS_NIGHTLY
17 BLISS_BUILDTYPE := NIGHTLY
18endif
19ifdef BLISS_EXPERIMENTAL
20 BLISS_BUILDTYPE := EXPERIMENTAL
21endif
22#ifdef BLISS_MAINTENANCE
23# BLISS_BUILDTYPE := MAINTENANCE
24#endif
25# Set Unofficial if no buildtype set (Buildtype should ONLY be set by BLISS Devs!)
26ifdef BLISS_BUILDTYPE
27else
28 BLISS_BUILDTYPE := UNOFFICIAL
29endif
30
31# Set BLISS version
32ifdef BLISS_RELEASE
33 BLISS_VERSION := Bliss-v$(VERSION)
34else
35 BLISS_VERSION := Bliss-v$(VERSION)-$(BLISS_BUILD)-$(BLISS_BUILDTYPE)-$(shell date +%Y%m%d)
36endif
37
38BLISS_DISPLAY_VERSION := $(VERSION)
39BLISS_DISPLAY_BUILDTYPE := $(BLISS_BUILDTYPE)
Jackeagle644dd9d2019-09-16 10:01:03 -040040BLISS_FINGERPRINT := Bliss/$(VERSION)/$(TARGET_PRODUCT_SHORT)/$(shell date +%Y%m%d)
Jackeagle59f7d842016-10-25 05:41:13 -040041