Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc18ae5e authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Revert "Conditionally use Unix epoch time for build incremental"

This reverts commit a618737e.
parent 1108132b
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -74,11 +74,7 @@ define generate-common-build-props
    echo "ro.$(1).build.id?=$(BUILD_ID)" >> $(2);\
    echo "ro.$(1).build.tags?=$(BUILD_VERSION_TAGS)" >> $(2);\
    echo "ro.$(1).build.type=$(TARGET_BUILD_VARIANT)" >> $(2);\
    if [[ $(BUILD_NUMBER_FROM_FILE) =~ ^eng\. ]]; then \
        echo "ro.$(1).build.version.incremental=`$(DATE_FROM_FILE) +%s`" >> $(2);\
    else \
    echo "ro.$(1).build.version.incremental=$(BUILD_NUMBER_FROM_FILE)" >> $(2);\
    fi; \
    echo "ro.$(1).build.version.release=$(PLATFORM_VERSION_LAST_STABLE)" >> $(2);\
    echo "ro.$(1).build.version.release_or_codename=$(PLATFORM_VERSION)" >> $(2);\
    echo "ro.$(1).build.version.sdk=$(PLATFORM_SDK_VERSION)" >> $(2);\