From 3364cc0e74cced52e2baba343aca65fabb3229b6 Mon Sep 17 00:00:00 2001 From: fincs Date: Mon, 29 Jul 2019 21:31:31 +0200 Subject: [PATCH] Use git describe in version string --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index acbf40d..a3cde92 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,10 @@ INCLUDES := include #ROMFS := romfs APP_VERSION := 2.2.0 +ifeq ($(RELEASE),) + APP_VERSION := $(APP_VERSION)-$(shell git describe --dirty --always) +endif + #--------------------------------------------------------------------------------- # options for code generation #---------------------------------------------------------------------------------