From 01139c3b50eeb30787e87aeea37948b672763c73 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 22 Dec 2022 19:25:04 -0500 Subject: [PATCH] fix: assume builds are stable when git isn't installed Signed-off-by: seth --- buildconfig/BuildConfig.cpp.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in index 1262ce8e4..02c021cf2 100644 --- a/buildconfig/BuildConfig.cpp.in +++ b/buildconfig/BuildConfig.cpp.in @@ -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();