diff --git a/Makefile b/Makefile index 2fb38abf..28bad704 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG = github.com/sosedoff/pgweb -GIT_COMMIT ?= $(shell git rev-parse HEAD) +GIT_COMMIT ?= $(shell git rev-parse --short=8 HEAD) BUILD_TIME ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ" | tr -d '\n') GO_VERSION ?= $(shell go version | awk {'print $$3'})