Update leo cli version to dedicated file

This commit is contained in:
howardwu 2020-08-28 23:38:30 -07:00
parent bf82bf4d1b
commit 3b737b2a34
2 changed files with 2 additions and 1 deletions

1
leo/leo-version Normal file
View File

@ -0,0 +1 @@
v1.0.2

View File

@ -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 <hello@aleo.org>")
.settings(&[