From 436051d6410a1bbaf898a678fc62c76e5dfe3d7f Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Wed, 23 Oct 2019 09:32:33 +0200 Subject: [PATCH] updated version info to 1.2 --- CMakeLists.txt | 4 ++-- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 669ec3d..e9c30ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,8 +46,8 @@ IF (UNIX) SET(CPACK_PACKAGE_DESCRIPTION "IPrefresher to refresh Dynu ip address and notify user via Telegram") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "IPrefresher to refresh Dynu ip address and notify user via Telegram") SET(CPACK_PACKAGE_VENDOR "Lukas Heilgienbrunner") - SET(CPACK_PACKAGE_VERSION_MAJOR "0") - SET(CPACK_PACKAGE_VERSION_MINOR "1") + SET(CPACK_PACKAGE_VERSION_MAJOR "1") + SET(CPACK_PACKAGE_VERSION_MINOR "2") SET(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}") SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}") SET(CPACK_PACKAGE_CONTACT "Lukas Heiligenbrunner ") diff --git a/src/main.cpp b/src/main.cpp index 6e7e663..171f532 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,7 +12,7 @@ int main(int argc, char *argv[]) { << "[-l] [--loop] infinite loop to refresh ip every five minutes" << std::endl << "[no argument] normal ip check and refresh" << std::endl; } else if (firstarg == "-v" || firstarg == "--version") { - std::cout << "Version 1.0" << std::endl; + std::cout << "Version 1.2" << std::endl; } else if (firstarg == "-f" || firstarg == "--force") { IPRefresher ipr; ipr.checkIPAdress(true);