From: Ramakrishnan Muthukrishnan Date: Mon, 18 Apr 2022 14:33:06 +0000 (+0530) Subject: Makefile: show the commit hash if no tags are found X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/$top_link?a=commitdiff_plain;h=c028016c173127a8fd90a17063155313bb769845;p=pihpsdr.git Makefile: show the commit hash if no tags are found --- 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