Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version number / git commit / date in build and --version text #162

Merged
merged 3 commits into from Jul 16, 2019

Conversation

lbarman
Copy link
Contributor

@lbarman lbarman commented Jul 4, 2019

Ready for merge; sample output:

drand
NAME:
   drand - distributed randomness service

USAGE:
   drand [global options] command [command options] [arguments...]

VERSION:
   v0.5.0-9-g7f0963f

And:

drand -v 
drand v0.5.0-9-g7f0963f (date 04/07/2019@10:35:16, commit 7f0963f72779d302a4d8cd51b14276bdb2f17bb0) by nikkolasg

The version corresponds to the latest git tag.

@nikkolasg nikkolasg merged commit 41e603c into master Jul 16, 2019
@nikkolasg nikkolasg deleted the version-number-in-build branch July 16, 2019 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants