diff --git a/lib.Makefile b/lib.Makefile index 80faba7cb89..9e2fee2cbb8 100644 --- a/lib.Makefile +++ b/lib.Makefile @@ -252,7 +252,7 @@ ifeq ($(GIT_USE_SSH),true) endif # Get version from git. -GIT_VERSION:=$(shell git describe --tags --dirty --long --always --abbrev=12) +GIT_VERSION:=$(shell git describe --tags --dirty --always --abbrev=12) # Figure out version information. To support builds from release tarballs, we default to # if this isn't a git checkout. @@ -262,7 +262,7 @@ BUILD_ID:=$(shell git rev-parse HEAD || uuidgen | sed 's/-//g') # Lazily set the git version we embed into the binaries we build. We want the # git tag at the time we build the binary. # Variables elsewhere that depend on this (such as LDFLAGS) must also be lazy. -GIT_DESCRIPTION=$(shell git describe --tags --dirty --long --always --abbrev=12 || echo '') +GIT_DESCRIPTION=$(shell git describe --tags --dirty --always --abbrev=12 || echo '') # Calculate a timestamp for any build artefacts. ifneq ($(OS),Windows_NT)