mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-05 17:55:45 +08:00
[breakpad] Add new annotation "commit"
This commit is contained in:
@@ -71,6 +71,7 @@ namespace BlackMisc
|
|||||||
// Backtrace annotations
|
// Backtrace annotations
|
||||||
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
|
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
|
||||||
annotations["format"] = "minidump";
|
annotations["format"] = "minidump";
|
||||||
|
annotations["commit"] = CBuildConfig::gitHeadSha1().toStdString();
|
||||||
annotations["version"] = CBuildConfig::getVersionString().toStdString();
|
annotations["version"] = CBuildConfig::getVersionString().toStdString();
|
||||||
annotations["short_version"] = CBuildConfig::getShortVersionString().toStdString();
|
annotations["short_version"] = CBuildConfig::getShortVersionString().toStdString();
|
||||||
annotations["platform"] = CBuildConfig::getPlatformString().toStdString();
|
annotations["platform"] = CBuildConfig::getPlatformString().toStdString();
|
||||||
|
|||||||
Reference in New Issue
Block a user