Makefile build test

This commit is contained in:
Greg Szabo 2017-11-22 19:24:42 -05:00
parent 20576cab5f
commit ce6eab5ea9
1 changed files with 2 additions and 1 deletions

View File

@ -102,7 +102,8 @@ build-basecoin: git-branch
###
# set app_version
version-%: $(GOPATH)/bin/%
#version-%: $(GOPATH)/bin/%
version-%:
if [ -z "$(BUILD_NUMBER)" ]; then echo "BUILD_NUMBER not set" ; false ; fi
$(eval $*_version=$(shell $< version | head -1 | cut -d- -f1 | sed 's/^\(ethermint:\s*\|\)\(v\|\)//' | tr -d '\t ' ))