add build info to release (#725)

* attempt to add VC_BUILD_NAME

* fix

* fix

* update macos.yml

* fix

* update macos.yml

* update macos.yml

* add debug step

* update

* update

* fix release.yml

* update cmake

* update WindowControl.cpp

* update workflows

* update release.yml

* add --output-always

* cleanup
This commit is contained in:
MihailRis 2025-12-05 22:11:47 +03:00 • committed by GitHub
parent a53c7054b4
commit cbb039a07a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 43 additions and 3 deletions

View file

@ -37,8 +37,12 @@ WindowControl::Result WindowControl::initialize() {
title += " - ";
}
title += "VoxelCore v" +
#ifdef VC_BUILD_NAME
std::string(VC_BUILD_NAME);
#else
std::to_string(ENGINE_VERSION_MAJOR) + "." +
std::to_string(ENGINE_VERSION_MINOR);
#endif
if (ENGINE_DEBUG_BUILD) {
title += " [debug]";
}