From 990458b771c732f9a5a108d53a5b48571650b3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Rodrigues=20Miguel?= Date: Wed, 6 Oct 2021 15:39:55 -0300 Subject: [PATCH] Release 0.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- install.sh | 2 +- src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 = {