Browse Source

Build Makefile changes

pull/1943/head
Greg Szabo 7 years ago
parent
commit
4b7260cdc5
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      build/Makefile

+ 3
- 1
build/Makefile View File

@ -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…
Cancel
Save