We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42dcf5e commit 6c8f2a0Copy full SHA for 6c8f2a0
1 file changed
src/ic_project.cmake
@@ -98,7 +98,7 @@ function(ic_project
98
99
# Warn about git tag
100
execute_process(
101
- COMMAND git describe
+ COMMAND git describe --tags
102
RESULT_VARIABLE res
103
ERROR_QUIET
104
OUTPUT_QUIET
@@ -115,7 +115,7 @@ function(ic_project
115
116
# Set firmware version
117
118
- COMMAND git describe --dirty=+ --always --abbrev=7
+ COMMAND git describe --tags --dirty=+ --always --abbrev=7
119
OUTPUT_VARIABLE git_tag
120
OUTPUT_STRIP_TRAILING_WHITESPACE
121
)
0 commit comments