Make the node version independent of the crate version (#1495)

This commit is contained in:
Bastian Köcher
2023-09-12 14:12:10 +02:00
committed by GitHub
parent fea7bcd625
commit e005aef59b
6 changed files with 15 additions and 6 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ impl SubstrateCli for Cli {
}
fn impl_version() -> String {
NODE_VERSION.into()
let commit_hash = env!("SUBSTRATE_CLI_COMMIT_HASH");
format!("{NODE_VERSION}-{commit_hash}")
}
fn description() -> String {