Skip to content

Commit

Permalink
Bump version to 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ToppDev committed Aug 8, 2023
1 parent 70a5804 commit fe2fa91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/internal/Version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
5 changes: 3 additions & 2 deletions src/util/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "Logger/dist_filter_sink.hpp"

#include "internal/ConfigManager.hpp"
#include "internal/Version.hpp"

#include <chrono>
#include <ctime>
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit fe2fa91

Please sign in to comment.