Merge pull request #388 from yuce/makefile-unknown-version

if a version is not found, set it as unknown
This commit is contained in:
Yuce Tekol 2017-03-10 19:43:58 +02:00 committed by GitHub
commit 9908002863

View file

@ -2,7 +2,7 @@
GLIDE := $(shell command -v glide 2>/dev/null)
PROTOC := $(shell command -v protoc 2>/dev/null)
VERSION := $(shell git describe --tags)
VERSION := $(shell git describe --tags 2> /dev/null || echo unknown)
IDENTIFIER := $(VERSION)-$(GOOS)-$(GOARCH)
CLONE_URL=github.com/pilosa/pilosa
BUILD_TIME=`date -u +%FT%T%z`