Use version from git-describe to better identify builds
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-14 00:39:47 +02:00
parent 119dcd4cff
commit 037e520beb
3 changed files with 7 additions and 3 deletions

View File

@ -5,7 +5,8 @@ pub struct VersionInfo<'a> {
pub(crate) const VERSION_INFO: VersionInfo = VersionInfo {
commit: env!("VERGEN_GIT_SHA"),
version: env!("CARGO_PKG_VERSION"),
version: env!("VERGEN_GIT_DESCRIBE"),
// version: env!("CARGO_PKG_VERSION"),
};
lazy_static! {