From fe2fa917024e3e56654b863d63f210353ccf6cc8 Mon Sep 17 00:00:00 2001 From: Thomas Topp Date: Tue, 8 Aug 2023 23:05:58 +0200 Subject: [PATCH] Bump version to 1.1 --- src/internal/Version.hpp | 4 ++-- src/util/Logger.cpp | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/internal/Version.hpp b/src/internal/Version.hpp index 1fba1fbda..336e7a22c 100644 --- a/src/internal/Version.hpp +++ b/src/internal/Version.hpp @@ -18,9 +18,9 @@ /// Major Version of the Project (maximum 2 digits) constexpr unsigned int PROJECT_VER_MAJOR = 1; /// Minor Version of the Project (maximum 2 digits) -constexpr unsigned int PROJECT_VER_MINOR = 0; +constexpr unsigned int PROJECT_VER_MINOR = 1; /// Patch Version of the Project (maximum 2 digits) -constexpr unsigned int PROJECT_VER_PATCH = 2; +constexpr unsigned int PROJECT_VER_PATCH = 0; /// Project Version Integer constexpr unsigned int PROJECT_VERSION() { diff --git a/src/util/Logger.cpp b/src/util/Logger.cpp index f11940330..0faa20fc9 100644 --- a/src/util/Logger.cpp +++ b/src/util/Logger.cpp @@ -13,6 +13,7 @@ #include "Logger/dist_filter_sink.hpp" #include "internal/ConfigManager.hpp" +#include "internal/Version.hpp" #include #include @@ -190,9 +191,9 @@ void Logger::writeHeader() noexcept [[maybe_unused]] tm* t = std::localtime(&now_c); // NOLINT(concurrency-mt-unsafe) #ifdef NDEBUG - LOG_INFO("Program started in Release on {:04d}-{:02d}-{:02d}", 1900 + t->tm_year, 1 + t->tm_mon, t->tm_mday); + LOG_INFO("INSTINCT v{} started in Release on {:04d}-{:02d}-{:02d}", PROJECT_VERSION_STRING, 1900 + t->tm_year, 1 + t->tm_mon, t->tm_mday); #else - LOG_INFO("Program started in Debug on {:04d}-{:02d}-{:02d}", 1900 + t->tm_year, 1 + t->tm_mon, t->tm_mday); + LOG_INFO("INSTINCT v{} started in Debug on {:04d}-{:02d}-{:02d}", PROJECT_VERSION_STRING, 1900 + t->tm_year, 1 + t->tm_mon, t->tm_mday); #endif writeSeparator();