diff --git a/build/Makefile b/build/Makefile index 0a4b4ab6..c1f500f5 100644 --- a/build/Makefile +++ b/build/Makefile @@ -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 ' ))