From 3fd23da5ee2e69e1aca663b52ecf1f3d61188a64 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 19 Nov 2017 21:26:05 +0100 Subject: Rename the version's "revision" to "build" That "revision" was inherited from SVN days but had been since then used to give information about the build: "custom_build", "official", "". It can now be overridden with the BUILD_NAME environment variable. --- core/engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/engine.cpp') diff --git a/core/engine.cpp b/core/engine.cpp index 9a3c6248a..53c7a73b4 100644 --- a/core/engine.cpp +++ b/core/engine.cpp @@ -85,7 +85,7 @@ Dictionary Engine::get_version_info() const { dict["patch"] = 0; #endif dict["status"] = VERSION_STATUS; - dict["revision"] = VERSION_REVISION; + dict["build"] = VERSION_BUILD; dict["year"] = VERSION_YEAR; String hash = VERSION_HASH; @@ -94,7 +94,7 @@ Dictionary Engine::get_version_info() const { String stringver = String(dict["major"]) + "." + String(dict["minor"]); if ((int)dict["patch"] != 0) stringver += "." + String(dict["patch"]); - stringver += "-" + String(dict["status"]) + " (" + String(dict["revision"]) + ")"; + stringver += "-" + String(dict["status"]) + " (" + String(dict["build"]) + ")"; dict["string"] = stringver; return dict; -- cgit v1.2.3-70-g09d2