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