Fixed incorrect version reporting when running azahar -v with a tagged release

This commit is contained in:
OpenSauce04 committed 2025-03-10 20:25:31 +00:00
1 parent a5ad887771
commit 4694e3c79a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -288,7 +288,7 @@ GMainWindow::GMainWindow(Core::System& system_)
if (args[i] == QStringLiteral("--version") || args[i] == QStringLiteral("-v")) {
const std::string version_string =
std::string("Azahar ") + Common::g_scm_branch + " " + Common::g_scm_desc;
std::string("Azahar ") + Common::g_build_fullname;
ShowCommandOutput("Version", version_string);
exit(0);
}
+1 -1
View File
@@ -298,7 +298,7 @@ void LaunchSdlFrontend(int argc, char** argv) {
}
case 'v':
const std::string version_string =
std::string("Azahar ") + Common::g_scm_branch + " " + Common::g_scm_desc;
std::string("Azahar ") + Common::g_build_fullname;
ShowCommandOutput("Version", version_string);
exit(0);
}