From 7693be1d3b6b635e4014a43051491af2f35fdb89 Mon Sep 17 00:00:00 2001 From: slowsage <84777606+slowsage@users.noreply.github.com> Date: Fri, 10 May 2024 16:23:09 -0400 Subject: [PATCH] chore(ci): Enable cargo binstall This is needed since the crate name and archive prefix differ. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 7a350ee..243f70a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,3 +27,6 @@ tokio = { version = "1.37.0", features = ["full"] } [[bin]] name = "commitlint" path = "src/main.rs" + +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/commitlint-v{ version }-{ target }{ archive-suffix }"