Merge pull request #186 from andyxning/make_VERSION_value_more_flexible

make VERSION value more flexible
This commit is contained in:
k8s-ci-robot
2018-08-21 18:25:22 -07:00
committed by GitHub

View File

@@ -19,7 +19,7 @@
all: build
# VERSION is the version of the binary.
VERSION:=$(shell git describe --tags --dirty)
VERSION?=$(shell if [ -d .git ]; then echo `git describe --tags --dirty`; else echo "UNKNOWN"; fi)
# TAG is the tag of the container image, default to binary version.
TAG?=$(VERSION)