Build Makefile changes

This commit is contained in:
Greg Szabo 2017-11-22 23:59:10 -05:00
parent dd5f81e430
commit ae85a7ae41
1 changed files with 2 additions and 1 deletions

View File

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