make: don't hardcode commit date

As it won't correspond to the commit hash, include the whole version
string.
This commit is contained in:
Johan T. Halseth committed 2018-12-04 14:09:33 +01:00
1 parent bafc44c14b
commit 0ba4fb8605
1 file changed
+1 -2
+1 -2
View File
@@ -19,7 +19,6 @@ BTCD_COMMIT := $(shell cat go.mod | \
grep $(BTCD_PKG) | \
tail -n1 | \
awk -F " " '{ print $$2 }' | \
awk -F "-" '{ print $$3 }' | \
awk -F "/" '{ print $$1 }')
GOBUILD := GO111MODULE=on go build -v
@@ -90,7 +89,7 @@ $(LINT_BIN):
btcd:
@$(call print, "Installing btcd.")
GO111MODULE=on go get -v github.com/btcsuite/btcd/@v0.0.0-20180823030728-$(BTCD_COMMIT)
GO111MODULE=on go get -v github.com/btcsuite/btcd/@$(BTCD_COMMIT)
# ============
# INSTALLATION