From fe6162b2a1d176fc6ec54f888c21aa10667b72fe Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Thu, 3 Nov 2016 16:37:52 +0000 Subject: [PATCH] Use short commit in Makefile build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3b4ecfa1d..6c75b9295 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION := $(shell sh -c 'git describe --always --tags') BRANCH := $(shell sh -c 'git rev-parse --abbrev-ref HEAD') -COMMIT := $(shell sh -c 'git rev-parse HEAD') +COMMIT := $(shell sh -c 'git rev-parse --short HEAD') ifdef GOBIN PATH := $(GOBIN):$(PATH) else