Skip to content

Commit 6c8f2a0

Browse files
committed
fix: use tag, not tag annotation
1 parent 42dcf5e commit 6c8f2a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ic_project.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function(ic_project
9898

9999
# Warn about git tag
100100
execute_process(
101-
COMMAND git describe
101+
COMMAND git describe --tags
102102
RESULT_VARIABLE res
103103
ERROR_QUIET
104104
OUTPUT_QUIET
@@ -115,7 +115,7 @@ function(ic_project
115115

116116
# Set firmware version
117117
execute_process(
118-
COMMAND git describe --dirty=+ --always --abbrev=7
118+
COMMAND git describe --tags --dirty=+ --always --abbrev=7
119119
OUTPUT_VARIABLE git_tag
120120
OUTPUT_STRIP_TRAILING_WHITESPACE
121121
)

0 commit comments

Comments
 (0)