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

Introduced 'version' command to all relevant binaries #969

Merged
merged 2 commits into from
Dec 16, 2021

Conversation

jstuczyn
Copy link
Contributor

@jstuczyn jstuczyn commented Dec 16, 2021

It provides the following build information:

  • build timestamp
  • binary version
  • git commit sha
  • git commit timestamp
  • git commit branch
  • rustc version
  • rustc channel (so nightly/beta/stable)
  • cargo profile (so debug/release)

Example output:

Build Timestamp:    2021-12-16T10:36:29.427457090+00:00
Build Version:      0.11.0
Commit SHA:         4bb5b9152725ce9fa67ee1802917aafe6920b561
Commit Date:        2021-12-16T10:34:45+00:00
Commit Branch:      feature/version-command
rustc Version:      1.56.1
rustc Channel:      stable
cargo Profile:      debug

It is implemented for:

  • mixnode
  • gateway
  • validator-api
  • native client
  • socks5 client

Copy link
Contributor

@durch durch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

@jstuczyn jstuczyn merged commit cf4eada into develop Dec 16, 2021
@jstuczyn jstuczyn deleted the feature/version-command branch December 16, 2021 11:48
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

3 participants