folder test fix in build

This commit is contained in:
Greg Szabo 2017-11-22 19:32:39 -05:00
parent ce6eab5ea9
commit a1d529e5cf
1 changed files with 1 additions and 1 deletions

View File

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