diff --git a/lib/core/libimagrt/src/version.rs b/lib/core/libimagrt/src/version.rs index 3f6d0ff3..10e034b7 100644 --- a/lib/core/libimagrt/src/version.rs +++ b/lib/core/libimagrt/src/version.rs @@ -21,12 +21,12 @@ macro_rules! make_imag_version { () => {{ let pkg_version = env!("CARGO_PKG_VERSION"); - let git_version = env!("CARGO_BUILD_GIT_HASH"); + let git_version = env!("CARGO_BUILD_VERSION"); if git_version == "" { String::from(pkg_version) } else { - format!("{}-{}", pkg_version, git_version) + String::from(git_version) } }} }