feat: log the build identifier at startup and show it on the dashboard About page

Every server logs BuildInfo's build string as its version; the About page
also shows the build kind and commit, and log bundles name the build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 16:28:40 -05:00
parent 05d18f56e4
commit 744bee40df
10 changed files with 27 additions and 6 deletions

View File

@@ -29,6 +29,7 @@
#include "Game.h"
#include "Server.h"
#include "BuildInfo.h"
namespace Game {
Logger* logger = nullptr;
@@ -60,7 +61,7 @@ int main(int argc, char** argv) {
Game::config->LogSettings();
LOG("Starting Auth server...");
LOG("Version: %s", PROJECT_VERSION);
LOG("Version: %s", std::string(BuildInfo::buildString).c_str());
LOG("Compiled on: %s", __TIMESTAMP__);
try {