From 59b0682f87803e69a58e58ea0f3c50f606745cae Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 23 Jun 2017 19:03:26 +0200 Subject: Set SUB_VERSION as current commit ID. Signed-off-by: Sebastien Douheret --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b55a77a..fe910a2 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ ifeq ($(origin SUB_VERSION), undefined) VERSION := $(firstword $(subst -, ,$(SUB_VERSION))) SUB_VERSION := $(word 2,$(subst -, ,$(SUB_VERSION))) else - SUB_VERSION := $(shell git describe --tags --always | sed 's/^v//') + SUB_VERSION := $(shell git rev-parse --short HEAD) ifeq ($(SUB_VERSION), ) SUB_VERSION := unknown-dev endif -- cgit 1.2.3-korg