diff --git a/Cargo.lock b/Cargo.lock index 39be08d..231bdb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -138,7 +138,7 @@ checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] name = "epitls-pi" -version = "1.2.0" +version = "1.2.1" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index e428f9e..66f44c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epitls-pi" -version = "1.2.0" +version = "1.2.1" edition = "2021" license = "GPL-3.0+" description = "A little helper tool meant to ease the developpment of the C piscine at EPITA/Toulouse." diff --git a/src/push.rs b/src/push.rs index bb413c2..198a545 100644 --- a/src/push.rs +++ b/src/push.rs @@ -23,7 +23,7 @@ pub fn add() { pub fn main(message: Option) { let message = message.unwrap_or_else(|| Utc::now().format("pi - %d/%m/%Y %H:%M").to_string()); let timestamp = Utc::now().timestamp(); - let suffix = format!("pi-{timestamp}"); + let suffix = format!("pi{timestamp}"); let tag = Config::get_local() .unwrap_or_else(|| { log_error("no config file found.\nPlease initialize with 'pi init '");