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 2018-12-04 13:55:09 +01:00
parent bafc44c14b
commit 0ba4fb8605
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -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