diff --git a/common.mk b/common.mk index ee28b696cbc..3403fd7a04c 100644 --- a/common.mk +++ b/common.mk @@ -74,7 +74,7 @@ ifdef KEYMAP_SECTION_ENABLE endif # Version string -OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null) +OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null) # Search Path