diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-17 21:55:55 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-03 17:23:13 +0200 |
commit | 68c48b2c8a0c454f8746f6ab259252a6c72c4b5e (patch) | |
tree | 5519e672b1153ee6c38c28cc5fc168e29983537e /buildconfig/BuildConfig.cpp.in | |
parent | 0f9260869b4b53b3e0a199eed808cdd5cd4fd935 (diff) | |
download | PrismLauncher-68c48b2c8a0c454f8746f6ab259252a6c72c4b5e.tar.gz PrismLauncher-68c48b2c8a0c454f8746f6ab259252a6c72c4b5e.tar.bz2 PrismLauncher-68c48b2c8a0c454f8746f6ab259252a6c72c4b5e.zip |
feat: store git tag in buildconfig
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'buildconfig/BuildConfig.cpp.in')
-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 70f8f7f0..fa0fa20e 100644 --- a/buildconfig/BuildConfig.cpp.in +++ b/buildconfig/BuildConfig.cpp.in @@ -62,8 +62,10 @@ Config::Config() UPDATER_BASE = "@Launcher_UPDATER_BASE@"; GIT_COMMIT = "@Launcher_GIT_COMMIT@"; + GIT_TAG = "@Launcher_GIT_TAG@"; GIT_REFSPEC = "@Launcher_GIT_REFSPEC@"; - if (GIT_REFSPEC == QStringLiteral("GITDIR-NOTFOUND")) + if (GIT_REFSPEC == QStringLiteral("GITDIR-NOTFOUND") + || GIT_TAG == QStringLiteral("-128-NOTFOUND")) { VERSION_CHANNEL = QStringLiteral("stable"); } |