mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
Export a 10-char commit hash in the build version
This avoids collisions in the user report, fixes #7174. Update the user report version to account for the new build version format, fixes #7173. The build version displayed in the GUI is kept at 5 characters for main menu clutter concerns.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2024 Wildfire Games.
|
||||
/* Copyright (C) 2025 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -406,7 +406,7 @@ void RunHardwareDetection(bool writeSystemInfoBeforeDetection, Renderer::Backend
|
||||
Script::SetProperty(rq, settings, "random_device_entropy", std::random_device{}.entropy());
|
||||
|
||||
// The version should be increased for every meaningful change.
|
||||
const int reportVersion = 21;
|
||||
const int reportVersion = 22;
|
||||
|
||||
// Send the same data to the reporting system
|
||||
g_UserReporter.SubmitReport(
|
||||
|
||||
Reference in New Issue
Block a user