mirror of
https://github.com/Luzifer/dns.git
synced 2024-12-23 03:11:20 +00:00
Work around packages not pinned properly
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2fd806a998
commit
caea3c7f13
1 changed files with 11 additions and 0 deletions
11
build.sh
11
build.sh
|
@ -14,4 +14,15 @@ cp /src/cron_generate.go .
|
||||||
|
|
||||||
# Get dependencies and build
|
# Get dependencies and build
|
||||||
go get -d -v
|
go get -d -v
|
||||||
|
|
||||||
|
# Force downgrades not being pinned
|
||||||
|
CWD=$(pwd)
|
||||||
|
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.4
|
||||||
|
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
|
||||||
|
cd "${CWD}"
|
||||||
|
|
||||||
|
# Do the compile
|
||||||
go install
|
go install
|
||||||
|
|
Loading…
Reference in a new issue