feat: use commit hash for channel if ref not available
This commit is contained in:
parent
3b7cc4391a
commit
9ddbaaf7e8
@ -38,6 +38,10 @@ Config::Config()
|
|||||||
UPDATER_ENABLED = true;
|
UPDATER_ENABLED = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (!GIT_COMMIT.isEmpty())
|
||||||
|
{
|
||||||
|
VERSION_CHANNEL = GIT_COMMIT.mid(0, 8);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VERSION_CHANNEL = QObject::tr("unknown");
|
VERSION_CHANNEL = QObject::tr("unknown");
|
||||||
|
Loading…
Reference in New Issue
Block a user