I am trying to compile the InfluxDB database (version v0.8.8) using go get github.com/influxdb/influxdb
But this pulls the master branch, and I need the v0.8.8
tag.
I have tried to do: go get github.com/influxdb/influxdb/releases/tag/v0.8.8
but this fails saying unable to find.
I also tried to do a regular go get
of the master branch, and then manually checking out the tag using git
in GOPATH/src/github...
in order to set the corret version.
The problem using the last approach is that when I try to pull the dependencies with go get -u -f ./...
it tries to find them in the master branch, and some of them do not exist on the master branch...
TL;DR: perform go get
on a specific github tag, and pull the correct dependencies.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…