Add missing GIT_BRANCH variable to Makefile
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
c404ba2499
commit
20313cb0a5
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -1,6 +1,7 @@
|
|||
BUILDTAGS=
|
||||
|
||||
GIT_COMMIT := $(shell git rev-parse HEAD 2> /dev/null || true)
|
||||
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null)
|
||||
|
||||
LDFLAGS := -X github.com/docker/containerd.GitCommit=${GIT_COMMIT} ${LDFLAGS}
|
||||
|
||||
|
|
Loading…
Reference in a new issue