diff --git a/appmgr/src/main.rs b/appmgr/src/main.rs index 41226d7b6..94f7bea73 100644 --- a/appmgr/src/main.rs +++ b/appmgr/src/main.rs @@ -37,6 +37,8 @@ async fn inner_main() -> Result<(), Error> { let version = format!("{}", crate::version::Current::new().semver()); let git_version = git_version::git_version!(args = ["--always", "--abbrev=40", "--dirty=-modified"]); + #[cfg(not(feature = "production"))] + let git_version = format!("{}-dev", git_version); #[allow(unused_mut)] let mut app = App::new("Start9 Application Manager") .version(version.as_str()) diff --git a/appmgr/src/version/mod.rs b/appmgr/src/version/mod.rs index ced9e8e61..abe170a79 100644 --- a/appmgr/src/version/mod.rs +++ b/appmgr/src/version/mod.rs @@ -22,7 +22,7 @@ mod v0_2_4; mod v0_2_5; mod v0_2_6; -pub use v0_2_5::Version as Current; +pub use v0_2_6::Version as Current; #[derive(serde::Serialize, serde::Deserialize)] #[serde(untagged)]