]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common.mk
Fix VERSION: add opton --always to git describe
[tmk_firmware.git] / common.mk
index ee28b696cbc278c88db366f0e8bae859ef2c6716..3403fd7a04ce01622666d93733226f14f5c6b09f 100644 (file)
--- 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