MediaServer -v 打印代码日期

This commit is contained in:
xiongziliang 2022-11-13 00:13:02 +08:00
parent 9bb6a2f828
commit 3fdd5a86c9

View File

@ -165,6 +165,7 @@ public:
[](const std::shared_ptr<ostream> &stream, const string &arg) -> bool {
//版本信息
*stream << "编译日期: " << BUILD_TIME << std::endl;
*stream << "代码日期: " << COMMIT_TIME << std::endl;
*stream << "当前git分支: " << BRANCH_NAME << std::endl;
*stream << "当前git hash值: " << COMMIT_HASH << std::endl;
throw ExitException();