From f6f4c50811f7cd647b7a0d77457e4bf06044702a Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Mon, 30 Nov 2020 23:20:58 -0700 Subject: [PATCH] 0.2.6 --- appmgr/src/main.rs | 2 ++ appmgr/src/version/mod.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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)]