Browse Source

Makefile build test

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

+ 2
- 1
build/Makefile View File

@ -102,7 +102,8 @@ build-basecoin: git-branch
### ###
# set app_version # set app_version
version-%: $(GOPATH)/bin/%
#version-%: $(GOPATH)/bin/%
version-%:
if [ -z "$(BUILD_NUMBER)" ]; then echo "BUILD_NUMBER not set" ; false ; fi 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 ' )) $(eval $*_version=$(shell $< version | head -1 | cut -d- -f1 | sed 's/^\(ethermint:\s*\|\)\(v\|\)//' | tr -d '\t ' ))


Loading…
Cancel
Save