File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ ifeq ($(GIT_USE_SSH),true)
252252endif
253253
254254# Get version from git.
255- GIT_VERSION: =$(shell git describe --tags --dirty --long -- always --abbrev=12)
255+ GIT_VERSION: =$(shell git describe --tags --dirty --always --abbrev=12)
256256
257257# Figure out version information. To support builds from release tarballs, we default to
258258# <unknown> if this isn't a git checkout.
@@ -262,7 +262,7 @@ BUILD_ID:=$(shell git rev-parse HEAD || uuidgen | sed 's/-//g')
262262# Lazily set the git version we embed into the binaries we build. We want the
263263# git tag at the time we build the binary.
264264# Variables elsewhere that depend on this (such as LDFLAGS) must also be lazy.
265- GIT_DESCRIPTION =$(shell git describe --tags --dirty --long -- always --abbrev=12 || echo '<unknown>')
265+ GIT_DESCRIPTION =$(shell git describe --tags --dirty --always --abbrev=12 || echo '<unknown>')
266266
267267# Calculate a timestamp for any build artefacts.
268268ifneq ($(OS ) ,Windows_NT)
You can’t perform that action at this time.
0 commit comments