diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-23 19:03:26 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-23 19:08:34 +0200 |
commit | 59b0682f87803e69a58e58ea0f3c50f606745cae (patch) | |
tree | 78985b643fa5efaa4133152295dd2af26af33f4f | |
parent | 1bafa8259d70bdc4691c36c064e4fd756a5e72aa (diff) |
Set SUB_VERSION as current commit ID.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |