|
@ -102,7 +102,9 @@ build-basecoin: git-branch |
|
|
###
|
|
|
###
|
|
|
|
|
|
|
|
|
# set app_version
|
|
|
# set app_version
|
|
|
version-%: $(GOPATH)/bin/% |
|
|
|
|
|
|
|
|
version-%: |
|
|
|
|
|
@echo "Checking if binary exists" |
|
|
|
|
|
test -n $(GOPATH)/bin/$* |
|
|
@echo "BUILD_NUMBER is $(BUILD_NUMBER)" |
|
|
@echo "BUILD_NUMBER is $(BUILD_NUMBER)" |
|
|
test -n "$(BUILD_NUMBER)" |
|
|
test -n "$(BUILD_NUMBER)" |
|
|
$(eval $*_version=$(shell $< version | head -1 | cut -d- -f1 | sed 's/^\(ethermint:\s*\|\)\(v\|\)//' | tr -d '\t ' )) |
|
|
$(eval $*_version=$(shell $< version | head -1 | cut -d- -f1 | sed 's/^\(ethermint:\s*\|\)\(v\|\)//' | tr -d '\t ' )) |
|
|