From d3e497d320f14f268fd4f5b073c57568335b32c1 Mon Sep 17 00:00:00 2001 From: bodymindarts Date: Thu, 8 Sep 2022 16:29:28 +0200 Subject: [PATCH] fix: concourse version must be string --- src/concourse/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/concourse/mod.rs b/src/concourse/mod.rs index 53b2036..0d60801 100644 --- a/src/concourse/mod.rs +++ b/src/concourse/mod.rs @@ -30,13 +30,13 @@ struct Source { #[derive(Clone, Debug, Deserialize, Serialize)] struct Version { trigger: String, - version: Option, + version: Option, } impl From for Version { fn from(id: StateId) -> Self { Self { trigger: id.head_commit, - version: Some(id.version), + version: Some(id.version.to_string()), } } }