feat: add time str
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-01-28 22:24:28 +01:00
parent 1fa94aa5ff
commit f882f56c9c
3 changed files with 75 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ serde_json.workspace = true
serde_yaml.workspace = true
serde.workspace = true
tracing = {version = "0.1.40", features = ["log"]}
chrono = {version = "0.4.33"}
[dev-dependencies]
tokio.workspace = true

View File

@@ -92,7 +92,10 @@ impl MainAction for CuddleReleaser {
client.host().unix_socket(ssh_sock.clone()),
);
let time = chrono::Local::now();
cuddle_releaser
.with_exec(vec!["echo", &time.to_rfc3339()])
.with_exec(vec![
"cuddle-releaser",
"release",