mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 04:29:04 +03:00
set git version
This commit is contained in:
@@ -4,7 +4,6 @@ namespace clrsync::core
|
||||
{
|
||||
const std::string version_string()
|
||||
{
|
||||
return "v" + std::to_string(VERSION_MAJOR) + "." + std::to_string(VERSION_MINOR) + "." +
|
||||
std::to_string(VERSION_PATCH);
|
||||
return GIT_SEMVER;
|
||||
}
|
||||
} // namespace clrsync::core
|
||||
|
||||
@@ -7,9 +7,7 @@
|
||||
namespace clrsync::core
|
||||
{
|
||||
|
||||
constexpr uint8_t VERSION_MAJOR = 0;
|
||||
constexpr uint8_t VERSION_MINOR = 1;
|
||||
constexpr uint8_t VERSION_PATCH = 4;
|
||||
const std::string GIT_SEMVER = "0.1.4+2.git.g4b4af0f";
|
||||
|
||||
const std::string version_string();
|
||||
} // namespace clrsync::core
|
||||
|
||||
@@ -7,9 +7,7 @@
|
||||
namespace clrsync::core
|
||||
{
|
||||
|
||||
constexpr uint8_t VERSION_MAJOR = @PROJECT_VERSION_MAJOR@;
|
||||
constexpr uint8_t VERSION_MINOR = @PROJECT_VERSION_MINOR@;
|
||||
constexpr uint8_t VERSION_PATCH = @PROJECT_VERSION_PATCH@;
|
||||
const std::string GIT_SEMVER = "@SEMVER@";
|
||||
|
||||
const std::string version_string();
|
||||
} // namespace clrsync::core
|
||||
|
||||
Reference in New Issue
Block a user