Skip to content

Add version tags to builds from source. #2625

@danielmai

Description

@danielmai

When building from source the version tags are missing:

$ $GOPATH/bin/dgraph version

Dgraph version   : 
Commit SHA-1     : 
Commit timestamp : 
Branch           : 

For Dgraph official documentation, visit https://docs.dgraph.io.
For discussions about Dgraph     , visit https://discuss.dgraph.io.
To say hi to the community       , visit https://dgraph.slack.com.

Licensed under Apache 2.0 + Commons Clause. Copyright 2015-2018 Dgraph Labs, Inc.

It'd be valuable to fill out the commit and branch info for source builds. We could create a Makefile that does this, similar to how release.sh sets the version info.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions