Show commit in --version and ledger-tool's log (#12636) (#12662)

* Show commit in `--version` and ledger-tool's log

* Another handy hidden env var

* Fix test

* Rename to semver!

* Fix syntax error...

(cherry picked from commit 026e7de819)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-03 16:45:27 +00:00
committed by GitHub
parent bc1b95d6d0
commit 34591d2f2f
4 changed files with 14 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ fn test_rpc_client() {
assert_eq!(
client.get_version().unwrap().solana_core,
solana_version::version!()
solana_version::semver!()
);
assert!(client.get_account(&bob_pubkey).is_err());