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
@@ -41,6 +41,7 @@ pub fn generate_cargo_keys() {
}
};
println!("cargo:rustc-env=SUBSTRATE_CLI_COMMIT_HASH={commit}");
println!("cargo:rustc-env=SUBSTRATE_CLI_IMPL_VERSION={}", get_version(&commit))
}