diff --git a/Cargo.lock b/Cargo.lock index a134927..9579321 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -540,7 +540,7 @@ dependencies = [ [[package]] name = "refractr" -version = "0.1.0" +version = "0.2.0" dependencies = [ "clap", "ctrlc", diff --git a/Cargo.toml b/Cargo.toml index 8746bb0..fccc6aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "refractr" -version = "0.1.0" +version = "0.2.0" edition = "2021" [dependencies] diff --git a/src/main.rs b/src/main.rs index 8650820..4562cbe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ use crate::refractr::Refractr; #[derive(Parser)] #[command(name = "refractr")] -#[command(version = "0.2.0")] +#[command(version = option_env!("CARGO_PKG_VERSION"))] #[command(about = "An automated pull/push utility for mirroring Git repositories")] #[command(long_about = None)] struct Args {