From 8cd6050cc5b764cfe5156144ebefca371501e5e2 Mon Sep 17 00:00:00 2001 From: Charlotte Thomas Date: Mon, 2 Dec 2024 14:02:28 +0100 Subject: [PATCH] bump to 4.0.0-alpha --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/configuration/loader.rs | 2 +- src/main.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e2c7fff..b2cbd4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -221,7 +221,7 @@ checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "mini-calc" -version = "3.3.3" +version = "4.0.0-alpha" dependencies = [ "ansi_term", "atty", diff --git a/Cargo.toml b/Cargo.toml index 1b1d1b8..04909b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mini-calc" -version = "3.3.3" +version = "4.0.0-alpha" license = "GPL-3.0-or-later" description = "A Fully-Featured Configurable (mini) Rust Calculator" homepage = "https://calc.charlotte-thomas.me" diff --git a/src/configuration/loader.rs b/src/configuration/loader.rs index 3bfa874..3c9c009 100644 --- a/src/configuration/loader.rs +++ b/src/configuration/loader.rs @@ -131,7 +131,7 @@ pub fn load_color(string: String) -> Color { pub fn replace_variable(str: String) -> String { str.replace("%author%", "Charlotte Thomas") - .replace("%version%", "v3.3.3") + .replace("%version%", "v4.0.0-alpha") .to_string() } diff --git a/src/main.rs b/src/main.rs index 1ab9302..8723166 100644 --- a/src/main.rs +++ b/src/main.rs @@ -263,7 +263,7 @@ fn handle_config(line: &str, config: Config) -> (String, Option) { fn main() { let mut args: Args = env::args(); - let version: String = "v3.3.3".to_string(); + let version: String = "v4.0.0-alpha".to_string(); if args.len() > 1 || !atty::is(Stream::Stdin) { let mut a = vec![];