Skip to content

Commit

Permalink
Fix nknd version not set
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <[email protected]>
  • Loading branch information
yilunzhang committed Sep 24, 2020
1 parent f4d4dd1 commit 7974903
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
**/*~
**/*.DS_Store

Log/
vendor/
ChainDB/
build/
certs/
ChainDB/
dashboard/web/node_modules/
dashboard/web/dist/
Log/
vendor/

nknd
nknc
wallet.json
wallet.pswd
config.json
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ cscope*
*~

/build/
/wallet.json
/wallet.pswd
/config.json
/certs/
/ChainDB/
/Log/
/vendor/

/nknd
/nknc
/certs
/wallet.json
/wallet.pswd
/config.json
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BIN_DIR=$(GOOS)-$(GOARCH)v$(GOARM)
else
BIN_DIR=$(GOOS)-$(GOARCH)
endif
NKND_BUILD_PARAM=-ldflags "-s -w -X github.com/nknorg/nkn/v2/util/config.Version=$(VERSION)"
NKND_BUILD_PARAM=-ldflags "-s -w -X github.com/nknorg/nkn/v2/config.Version=$(VERSION)"
NKNC_BUILD_PARAM=-ldflags "-s -w -X github.com/nknorg/nkn/v2/cmd/nknc/common.Version=$(VERSION)"
NKND_OUTPUT=$(BUILD_DIR)/$(BIN_DIR)/nknd$(EXT)
NKNC_OUTPUT=$(BUILD_DIR)/$(BIN_DIR)/nknc$(EXT)
Expand Down

0 comments on commit 7974903

Please sign in to comment.