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-08 19:21:50 +03:00
committed by ShiftyX1
parent 149f418bed
commit f5868b65f0
7 changed files with 43 additions and 3 deletions
+4
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]";
}
+4
View File
@@ -14,6 +14,10 @@ static void sigterm_handler(int signum) {
}
int main(int argc, char** argv) {
#ifdef VC_BUILD_NAME
logger.info() << "build: " << VC_BUILD_NAME;
#endif
CoreParameters coreParameters;
try {
if (!parse_cmdline(argc, argv, coreParameters)) {