mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-31 00:37:39 +08:00
MediaServer -v 打印代码日期
This commit is contained in:
parent
9bb6a2f828
commit
3fdd5a86c9
@ -165,6 +165,7 @@ public:
|
|||||||
[](const std::shared_ptr<ostream> &stream, const string &arg) -> bool {
|
[](const std::shared_ptr<ostream> &stream, const string &arg) -> bool {
|
||||||
//版本信息
|
//版本信息
|
||||||
*stream << "编译日期: " << BUILD_TIME << std::endl;
|
*stream << "编译日期: " << BUILD_TIME << std::endl;
|
||||||
|
*stream << "代码日期: " << COMMIT_TIME << std::endl;
|
||||||
*stream << "当前git分支: " << BRANCH_NAME << std::endl;
|
*stream << "当前git分支: " << BRANCH_NAME << std::endl;
|
||||||
*stream << "当前git hash值: " << COMMIT_HASH << std::endl;
|
*stream << "当前git hash值: " << COMMIT_HASH << std::endl;
|
||||||
throw ExitException();
|
throw ExitException();
|
||||||
|
Loading…
Reference in New Issue
Block a user