add PKG_VERSION to build info

This commit is contained in:
Simon Gardling 2022-04-22 12:53:51 -04:00
parent 8bf8bd917b
commit 1ea311931e

View File

@ -8,10 +8,11 @@ shadow!(build);
// Constant string that has a string containing information about the build.
pub const BUILD_INFO: &str = formatc!(
"Commit: {} ({})\nBuild Date: {}\nRust Channel: {}\nRust Version: {}",
"Commit: {} ({})\nBuild Date: {}\nPackage Version: {}\nRust Channel: {}\nRust Version: {}",
&build::SHORT_COMMIT,
&build::BRANCH,
&build::BUILD_TIME,
&build::PKG_VERSION,
&build::RUST_CHANNEL,
&build::RUST_VERSION,
);