зеркало из https://github.com/microsoft/docker.git
Shortening the git commit used in the version command
This commit is contained in:
Родитель
37a78902db
Коммит
e566b89a5f
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче