From c7650528ac32dd243cc8ab71c7b980907ae7ef12 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 27 Dec 2024 16:31:17 +0100 Subject: [PATCH] feat: option Signed-off-by: kjuulh --- Cargo.lock | 8 ++++---- crates/cuddle-rust-cli-plan/src/main.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3d36493..676cf0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -302,7 +302,7 @@ dependencies = [ [[package]] name = "cuddle-ci" version = "0.3.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#7c9890a8d5689a082932a53c8fcbd38de439224b" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#68464938a35d53e5e1b5afdbd945af629985d0d4" dependencies = [ "async-trait", "chrono", @@ -338,12 +338,12 @@ dependencies = [ [[package]] name = "dagger-components" version = "0.1.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#7c9890a8d5689a082932a53c8fcbd38de439224b" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#68464938a35d53e5e1b5afdbd945af629985d0d4" [[package]] name = "dagger-cuddle-please" version = "0.3.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#7c9890a8d5689a082932a53c8fcbd38de439224b" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#68464938a35d53e5e1b5afdbd945af629985d0d4" dependencies = [ "async-trait", "dagger-sdk", @@ -353,7 +353,7 @@ dependencies = [ [[package]] name = "dagger-rust" version = "0.3.0" -source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#7c9890a8d5689a082932a53c8fcbd38de439224b" +source = "git+https://git.front.kjuulh.io/kjuulh/dagger-components?branch=main#68464938a35d53e5e1b5afdbd945af629985d0d4" dependencies = [ "async-trait", "dagger-sdk", diff --git a/crates/cuddle-rust-cli-plan/src/main.rs b/crates/cuddle-rust-cli-plan/src/main.rs index 5379dfc..df9cb25 100644 --- a/crates/cuddle-rust-cli-plan/src/main.rs +++ b/crates/cuddle-rust-cli-plan/src/main.rs @@ -63,7 +63,7 @@ impl cuddle_ci::ReleaseAction for RustReleaser { .context("failed to find crates.io token (env: CRATES_IO_TOKEN)")?; if let Some(cuddle_publish) = &cuddle_file.vars.rust { - if cuddle_publish.publish { + if cuddle_publish.publish.is_some() { let rust_image = self.client.container().from("rustlang/rust:nightly"); let src = self.client.host().directory_opts(