shared: shared.pro: Add git commit id to build

This commit is contained in:
2022-05-31 18:42:20 +02:00
parent 3f85f214e3
commit db029dd915
2 changed files with 7 additions and 1 deletions

View File

@ -205,5 +205,6 @@ bool Common::isTextFile(QFileInfo fileInfo)
QString Common::versionText()
{
QString commitid = GIT_COMMIT_ID;
return commitid + " built " + __DATE__ + " " + __TIME__;
QString tag = GIT_TAG;
return tag + " (" + commitid + ") built " + __DATE__ + " " + __TIME__;
}