Version parsing changed in build to accommodate Gaia's extra space

This commit is contained in:
Greg Szabo 2017-10-12 14:08:29 -04:00
parent 51d74ebdfa
commit e0fbe6fb3e
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/%
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\|\)//' ))
$(eval $*_version=$(shell $< version | head -1 | cut -d- -f1 | sed 's/^\(ethermint:\s*\|\)\(v\|\)//' | tr -d '\t ' ))
# set build_folder
folder-%: version-%