Skip to content

Commit

Permalink
fix(build): use consistent 7-character build abbrev sha
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <[email protected]>
  • Loading branch information
LucaGuerra authored and poiana committed Dec 23, 2021
1 parent 226d1fb commit 473b94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/GetFalcoVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 21,7 @@ if(NOT FALCO_VERSION)
git_get_exact_tag(FALCO_TAG)
if(NOT FALCO_TAG)
# Obtain the closest tag
git_describe(FALCO_VERSION "--always" "--tags")
git_describe(FALCO_VERSION "--always" "--tags" "--abbrev=7")
# Fallback version
if(FALCO_VERSION MATCHES "NOTFOUND$")
set(FALCO_VERSION "0.0.0")
Expand Down

0 comments on commit 473b94b

Please sign in to comment.