From 0ba4fb8605f9255d9e4c352fa9b5ada81f4973a7 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Tue, 4 Dec 2018 13:55:09 +0100 Subject: [PATCH] make: don't hardcode commit date As it won't correspond to the commit hash, include the whole version string. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4cfdf46d..96218891 100644 --- a/Makefile +++ b/Makefile @@ -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