Dgraph is at version 20.03.4 and is production ready.
I think the master README.md should be updated to 20.07.2, and the docker hub page needs to be synced with master README on every release. And the dgraph/dgraph:master version should be after 20.07.2.
it really seems like the dgraph team has a rather “special” interpretation of semver.
I have been both confused and frustrated several times in the last months.
Thanks for opening the thread!
I think if you use makefile instead of go build, the versioning should work fine. In this example Build Dgraph from the master I don’t have this behavior you have.
When I run docker pull dgraph/dgraph:master, it pulls the latest master tag, which currently has Digest: sha256:ce7b357ccdc2, which is on par with hub.docker.com.
When I then run docker run --rm dgraph/dgraph:master dgraph version, it shows Dgraph version : v2.0.0-rc1-538-g43cce17f8:
$ docker run --rm -it dgraph/dgraph:master dgraph version
[Decoder]: Using assembly version of decoder
Dgraph version : v2.0.0-rc1-538-g43cce17f8
Dgraph SHA-256 : 1c91014583a92edb9a683f58dd0991dfa5e305f2fe9ae8b68a1629264c62209d
Commit SHA-1 : 43cce17f8
Commit timestamp : 2020-07-21 09:59:14 +0530
Branch : master
Go version : go1.14.1