fix: assume builds are stable when git isn't installed
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
bf2ce54076
commit
01139c3b50
@ -76,7 +76,8 @@ Config::Config()
|
||||
|
||||
// Assume that builds outside of Git repos are "stable"
|
||||
if (GIT_REFSPEC == QStringLiteral("GITDIR-NOTFOUND")
|
||||
|| GIT_TAG == QStringLiteral("GITDIR-NOTFOUND"))
|
||||
|| GIT_TAG == QStringLiteral("GITDIR-NOTFOUND")
|
||||
|| GIT_TAG == QStringLiteral("GIT-NOTFOUND"))
|
||||
{
|
||||
GIT_REFSPEC = "refs/heads/stable";
|
||||
GIT_TAG = versionString();
|
||||
|
Loading…
Reference in New Issue
Block a user