Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormerLurker <hochgebe@gmail.com>2020-11-28 20:03:07 +0300
committerFormerLurker <hochgebe@gmail.com>2020-11-28 20:03:07 +0300
commit0a1093ce5d12e85e5ea229f5d36da5bf4472feb2 (patch)
tree204dfe5a53a12803afc1b501eeebec607b12d07c
parentaf8ed910df9a542cb6b1585bcf03a276af16a714 (diff)
Add --tags OPTION
-rw-r--r--GcodeProcessorLib/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/GcodeProcessorLib/CMakeLists.txt b/GcodeProcessorLib/CMakeLists.txt
index 84629f8..41b729e 100644
--- a/GcodeProcessorLib/CMakeLists.txt
+++ b/GcodeProcessorLib/CMakeLists.txt
@@ -22,7 +22,7 @@ execute_process(
# get the tag for the current branch
execute_process(
- COMMAND git describe --abbrev=0
+ COMMAND git describe --abbrev=0 --tags
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_TAG
OUTPUT_STRIP_TRAILING_WHITESPACE
@@ -30,7 +30,7 @@ execute_process(
# get the most recent tagged version
execute_process(
- COMMAND git describe
+ COMMAND git describe --tags
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_TAGGED_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE