summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBalz Guenat <balz.guenat@gmail.com>2017-08-12 12:14:33 +0200
committerBalz Guenat <balz.guenat@gmail.com>2017-08-12 12:14:33 +0200
commit430151dd51b8b0d925850ad4d52c8bae41d3c154 (patch)
treef3d13283dd812277bc30d75dff32ea16508b58c8 /Makefile
parent175db1a549a46518c2f2511ac1624d594eb07216 (diff)
parent5ad103fa51083cb26d3516e5598b7b2a099b1521 (diff)
Merge remote-tracking branch 'upstream/master'
# Conflicts: # docs/faq_keymap.md
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ed757dc29..ebad723bee 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,11 @@ endif
# Otherwise the [OK], [ERROR] and [WARN] messages won't be displayed correctly
override SILENT := false
+QMK_VERSION := $(shell git describe --abbrev=0 --tags 2>/dev/null)
+ifneq ($(QMK_VERSION),)
+$(info QMK Firmware v$(QMK_VERSION))
+endif
+
ON_ERROR := error_occurred=1
BREAK_ON_ERRORS = no