From 99c30a3fd3ce751d9c93bf191e83ca0dfa3227c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20G=C3=B6risch?= Date: Fri, 21 Jul 2023 11:36:30 +0000 Subject: [PATCH] Release v2.0.0 --- CMakeLists.txt | 2 +- cmake/SetGitBasedVersion.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f792cb75..007ba844 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(UMATI_CLIENT_VER_MAJOR 2) set(UMATI_CLIENT_VER_MINOR 0) set(UMATI_CLIENT_VER_PATCH 0) -set(UMATI_CLIENT_VER_LABEL "-rc8") # like "-rc1" or "-g4538abcd" or "-g4538abcd-dirty" +set(UMATI_CLIENT_VER_LABEL "-undefined") # like "-rc1" or "-g4538abcd" or "-g4538abcd-dirty" set(UMATI_CLIENT_VER_COMMIT "unknown-commit") # Overwrite the version information based on git if available diff --git a/cmake/SetGitBasedVersion.cmake b/cmake/SetGitBasedVersion.cmake index 2b2cf4c2..d1f81540 100644 --- a/cmake/SetGitBasedVersion.cmake +++ b/cmake/SetGitBasedVersion.cmake @@ -8,7 +8,7 @@ function(set_umati_dashboard_client_version) # Generate a git-describe version string from Git repository tags if(GIT_EXECUTABLE AND NOT DEFINED UMATI_CLIENT_VERSION) execute_process( - COMMAND ${GIT_EXECUTABLE} describe --always --tags --dirty --match "v*" + COMMAND ${GIT_EXECUTABLE} describe --always --tags --match "v*" WORKING_DIRECTORY "${VERSION_SRC_DIR}" OUTPUT_VARIABLE GIT_DESCRIBE_VERSION RESULT_VARIABLE GIT_DESCRIBE_ERROR_CODE