From de561e4fd3d7a9a80e2f5cf083a96f5d5f4d80ca Mon Sep 17 00:00:00 2001 From: flow Date: Sat, 24 Dec 2022 06:38:49 -0800 Subject: [PATCH] Merge pull request #666 from getchoo/pls-scrump scrump heard your pleads, rejoice! --- buildconfig/BuildConfig.cpp.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in index 1262ce8e4..353731896 100644 --- a/buildconfig/BuildConfig.cpp.in +++ b/buildconfig/BuildConfig.cpp.in @@ -76,7 +76,9 @@ 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_REFSPEC == QStringLiteral("") + || GIT_TAG == QStringLiteral("GIT-NOTFOUND")) { GIT_REFSPEC = "refs/heads/stable"; GIT_TAG = versionString();