From c6e1d6d570992e13910285302e975dd01c13543f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Gardstr=C3=B6m?= Date: Tue, 18 Jan 2022 20:35:25 +0100 Subject: [PATCH] v0.3.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/util.rs | 12 ++++++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 78fca7b..8aae0c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1494,7 +1494,7 @@ dependencies = [ [[package]] name = "twitch-discord-moderation" -version = "0.2.1" +version = "0.3.0" dependencies = [ "ansi_term", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 3a89435..18c162f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "twitch-discord-moderation" -version = "0.2.1" +version = "0.3.0" authors = ["Emil Gardström "] edition = "2018" license = "MIT OR APACHE-2.0" diff --git a/src/util.rs b/src/util.rs index 2226dd3..319b4a0 100644 --- a/src/util.rs +++ b/src/util.rs @@ -24,9 +24,17 @@ pub mod built_info { pub static LONG_VERSION: Lazy = Lazy::new(|| { let version = if let Some(hash) = built_info::GIT_COMMIT_HASH { if let Some(true) = built_info::GIT_DIRTY { - format!("{} ({}*)", built_info::PKG_VERSION, &hash.get(..8).unwrap_or(hash)) + format!( + "{} ({}*)", + built_info::PKG_VERSION, + &hash.get(..8).unwrap_or(hash) + ) } else { - format!("{} ({})", built_info::PKG_VERSION, &hash.get(..8).unwrap_or(hash)) + format!( + "{} ({})", + built_info::PKG_VERSION, + &hash.get(..8).unwrap_or(hash) + ) } } else { built_info::PKG_VERSION.to_string()