Build Makefile changes
This commit is contained in:
parent
ae85a7ae41
commit
4b7260cdc5
|
@ -102,7 +102,9 @@ build-basecoin: git-branch
|
|||
###
|
||||
|
||||
# set app_version
|
||||
version-%: $(GOPATH)/bin/%
|
||||
version-%:
|
||||
@echo "Checking if binary exists"
|
||||
test -n $(GOPATH)/bin/$*
|
||||
@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 ' ))
|
||||
|
|
Loading…
Reference in New Issue