Skip to content
Snippets Groups Projects
Commit 4cc8bd9e authored by Daniel Mai's avatar Daniel Mai
Browse files

release.sh: Update Badger and Go versions for release builds.

parent a66ad1e0
Branches docs/v1.0.18
Tags v1.0.18
No related merge requests found
......@@ -18,7 +18,7 @@ mkdir $GOPATH
PATH="$GOPATH/bin:$PATH"
# The Go version used for release builds must match this version.
GOVERSION="1.12.5"
GOVERSION="1.13.5"
TAG=$1
# The Docker tag should not contain a slash e.g. feature/issue1234
......@@ -64,7 +64,7 @@ go get -d google.golang.org/grpc
go get -u github.com/prometheus/client_golang/prometheus
go get -u github.com/dgraph-io/dgo
# go get github.com/stretchr/testify/require
go get -u github.com/dgraph-io/badger
go get -u -d github.com/dgraph-io/badger
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u github.com/gogo/protobuf/protoc-gen-gofast
......@@ -72,6 +72,11 @@ pushd $GOPATH/src/google.golang.org/grpc
git checkout v1.13.0
popd
# Dgraph v1.0 does not support Badger v2.0.0+.
pushd $GOPATH/src/github.com/dgraph-io/badger
git checkout v1.6.0
popd
basedir=$GOPATH/src/github.com/dgraph-io
# Clone Dgraph repo.
pushd $basedir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment