diff options
Diffstat (limited to 'buildconfig/BuildConfig.h')
-rw-r--r-- | buildconfig/BuildConfig.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h index 6e4a6fab..95786d82 100644 --- a/buildconfig/BuildConfig.h +++ b/buildconfig/BuildConfig.h @@ -89,6 +89,9 @@ class Config { /// The git commit hash of this build QString GIT_COMMIT; + /// The git tag of this build + QString GIT_TAG; + /// The git refspec of this build QString GIT_REFSPEC; @@ -160,6 +163,7 @@ class Config { QString MODRINTH_STAGING_URL = "https://staging-api.modrinth.com/v2"; QString MODRINTH_PROD_URL = "https://api.modrinth.com/v2"; + QString versionString() const; /** * \brief Converts the Version to a string. * \return The version number in string format (major.minor.revision.build). |