diff --git a/Cargo.lock b/Cargo.lock index 6b9c137..b254ed0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -182,7 +182,7 @@ dependencies = [ [[package]] name = "ouch" -version = "0.1.6" +version = "0.2.0" dependencies = [ "atty", "bzip2", diff --git a/Cargo.toml b/Cargo.toml index 6baa41e..c8b015b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ouch" -version = "0.1.6" +version = "0.2.0" authors = ["Vinícius Rodrigues Miguel ", "João M. Bezerra "] edition = "2018" readme = "README.md" diff --git a/install.sh b/install.sh index fa7965b..a05924f 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #! /usr/bin/sh # Needs to be updated each version bump -VERSION="0.1.6" +VERSION="0.2.0" DOWNLOAD_LOCATION="/tmp/ouch-binary" INSTALLATION_LOCATION="/usr/local/bin/ouch" diff --git a/src/lib.rs b/src/lib.rs index eb81754..59618bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,7 +23,7 @@ use lazy_static::lazy_static; pub const EXIT_FAILURE: i32 = libc::EXIT_FAILURE; -const VERSION: &str = "0.1.6"; +const VERSION: &'static str = env!("CARGO_PKG_VERSION"); lazy_static! { static ref NO_COLOR_IS_SET: bool = {