From c028016c173127a8fd90a17063155313bb769845 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Mon, 18 Apr 2022 20:03:06 +0530 Subject: [PATCH] Makefile: show the commit hash if no tags are found --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bcdf64d..81cc95c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ UNAME_S := $(shell uname -s) # Get git commit version and date GIT_DATE := $(firstword $(shell git --no-pager show --date=short --format="%ai" --name-only)) -GIT_VERSION := $(shell git describe --abbrev=0 --tags) +GIT_VERSION := $(shell git describe --abbrev=0 --tags --always) # uncomment the following line to force 480x320 screen #SMALL_SCREEN_OPTIONS=-D SMALL_SCREEN -- 2.45.2