aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2018-01-10 09:30:28 -0800
committerGravatar GitHub <noreply@github.com> 2018-01-10 09:30:28 -0800
commit2ead19f31693dab0c73732f7576205bd45c845d5 (patch)
tree550869ee80329d5528ffd4372e17dcd4554fabda /Makefile
parentb7476d0217ebfca264dba7d3ec672147665e6b80 (diff)
downloadcoredns-2ead19f31693dab0c73732f7576205bd45c845d5.tar.gz
coredns-2ead19f31693dab0c73732f7576205bd45c845d5.tar.zst
coredns-2ead19f31693dab0c73732f7576205bd45c845d5.zip
Fix version of go get (#1370)
This fix fixes version fetched from `go get` so that versions are guarded. github.com/mholt/caddy v0.10.10 github.com/miekg/dns v1.0.3 github.com/prometheus/client_golang v0.8.0 golang.org/x/net release-branch.go1.9 (branch) golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 This fix fixes 1368. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e9198b243..57dd348af 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,11 @@ godeps:
go get github.com/prometheus/client_golang/prometheus
go get golang.org/x/net/context
go get golang.org/x/text
+ (cd $(GOPATH)/src/github.com/mholt/caddy && git checkout -q v0.10.10)
+ (cd $(GOPATH)/src/github.com/miekg/dns && git checkout -q v1.0.3)
+ (cd $(GOPATH)/src/github.com/prometheus/client_golang && git checkout -q v0.8.0)
+ (cd $(GOPATH)/src/golang.org/x/net && git checkout -q release-branch.go1.9)
+ (cd $(GOPATH)/src/golang.org/x/text && git checkout -q e19ae1496984b1c655b8044a65c0300a3c878dd3)
.PHONY: travis
travis: check