mirror of
https://github.com/docker/cli.git
synced 2026-09-27 17:56:04 -04:00
Shortening the git commit used in the version command
Upstream-commit: e566b89a5f13f36fad2e2bb37faf9079e06e051e Component: engine
This commit is contained in:
@@ -10,7 +10,7 @@ ifeq ($(VERBOSE), 1)
|
||||
GO_OPTIONS += -v
|
||||
endif
|
||||
|
||||
BUILD_OPTIONS = -ldflags "-X main.GIT_COMMIT `git rev-parse HEAD`"
|
||||
BUILD_OPTIONS = -ldflags "-X main.GIT_COMMIT `git rev-parse --short HEAD`"
|
||||
|
||||
SRC_DIR := $(GOPATH)/src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user