Skip to content

Commit

Permalink
Fix tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed May 5, 2022
1 parent 6eabb32 commit 05bfbcb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/release-operator/src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

Expand Down

0 comments on commit 05bfbcb

Please sign in to comment.