diff --git a/leo/leo-version b/leo/leo-version new file mode 100644 index 0000000000..570c796513 --- /dev/null +++ b/leo/leo-version @@ -0,0 +1 @@ +v1.0.2 diff --git a/leo/main.rs b/leo/main.rs index 8214e43df8..ae9ea633ec 100644 --- a/leo/main.rs +++ b/leo/main.rs @@ -21,7 +21,7 @@ use clap::{App, AppSettings, Arg}; #[cfg_attr(tarpaulin, skip)] fn main() -> Result<(), CLIError> { let arguments = App::new("leo") - .version("v1.0.1") + .version(include_str!("./leo-version")) .about("Leo compiler and package manager") .author("The Aleo Team ") .settings(&[