add optional pre-release tag
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
6f7454243e
commit
cb35fb8d0e
3 changed files with 6 additions and 2 deletions
|
@ -58,6 +58,7 @@ Config::Config()
|
|||
// Version information
|
||||
VERSION_MAJOR = @Launcher_VERSION_MAJOR@;
|
||||
VERSION_MINOR = @Launcher_VERSION_MINOR@;
|
||||
VERSION_PRERELEASE = "@Launcher_VERSION_PRERELEASE@";
|
||||
|
||||
BUILD_PLATFORM = "@Launcher_BUILD_PLATFORM@";
|
||||
BUILD_ARTIFACT = "@Launcher_BUILD_ARTIFACT@";
|
||||
|
@ -128,7 +129,7 @@ Config::Config()
|
|||
|
||||
QString Config::versionString() const
|
||||
{
|
||||
return QString("%1.%2").arg(VERSION_MAJOR).arg(VERSION_MINOR);
|
||||
return QString("%1.%2%3").arg(VERSION_MAJOR).arg(VERSION_MINOR).arg(VERSION_PRERELEASE);
|
||||
}
|
||||
|
||||
QString Config::printableVersionString() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue