feat: option
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-12-27 16:31:17 +01:00
parent b30aacafb8
commit c7650528ac
2 changed files with 5 additions and 5 deletions

8
Cargo.lock generated
View File

@ -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",

View File

@ -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(