diff options
author | flow <flowlnlnln@gmail.com> | 2022-12-24 06:38:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 06:38:49 -0800 |
commit | dd3848d7b161e415c34c3c1c393985b644a88f1c (patch) | |
tree | 3771b00f1cac72fcf30fd2b78f363314b6fe466f | |
parent | 56ac1a0813f0ebaef4f1f3d77a446ede197a770d (diff) | |
parent | f932ffcc5b2184bc29f6f9465b7e42dd2c4527d2 (diff) | |
download | PrismLauncher-dd3848d7b161e415c34c3c1c393985b644a88f1c.tar.gz PrismLauncher-dd3848d7b161e415c34c3c1c393985b644a88f1c.tar.bz2 PrismLauncher-dd3848d7b161e415c34c3c1c393985b644a88f1c.zip |
Merge pull request #666 from getchoo/pls-scrump
scrump heard your pleads, rejoice!
-rw-r--r-- | buildconfig/BuildConfig.cpp.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in index 1262ce8e..35373189 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(); |