From 05bfbcb02cc9d337b4bc1ac1cc2bd958e9a197ee Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 5 May 2022 19:30:30 +0200 Subject: [PATCH] Fix tag name --- tools/release-operator/src/release.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/release-operator/src/release.rs b/tools/release-operator/src/release.rs index 2c3fb11a0..5ecda9e05 100644 --- a/tools/release-operator/src/release.rs +++ b/tools/release-operator/src/release.rs @@ -76,9 +76,12 @@ impl Release { } fn hit(&self, tag: &str) -> anyhow::Result<()> { + let tag = format!("v{tag}"); log::info!("detected release of {tag}"); + Actions::set_output(Outputs::ReleaseDetected, "true"); - Actions::set_output(Outputs::TagName, tag); + Actions::set_output(Outputs::TagName, &tag); + Ok(()) }