From c7913c362c3ff7156965462995ba871f8b3e3af6 Mon Sep 17 00:00:00 2001 From: Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> Date: Sun, 27 Feb 2022 23:06:43 +0900 Subject: [PATCH] feat: add `cargo-binstall` method (#1129) * feat: add cargo-binstall method * fix: update archive format type --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 66724b6f..01d3748e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,5 +59,10 @@ assets = [ ["assets/completions/_zellij", "usr/share/zsh/vendor-completions/_zellij", "644"], ] +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz" +bin-dir = "{ bin }{ binary-ext }" +pkg-fmt = "tgz" + [features] disable_automatic_asset_installation = []