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 1/2] 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 = [] From b00b23570c48114181a232955b88ef4c50c39e51 Mon Sep 17 00:00:00 2001 From: Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> Date: Sun, 27 Feb 2022 23:08:39 +0900 Subject: [PATCH 2/2] docs(changelog): support `cargo-binstall` --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9d6e414..55e9ca28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * Add: detach `action` to `tmux-mode` (https://github.com/zellij-org/zellij/pull/1116) * Add: initial `nix` support (https://github.com/zellij-org/zellij/pull/1131) * Fix: unused code warnings (https://github.com/zellij-org/zellij/pull/1087) +* Add: support `cargo-binstall` (https://github.com/zellij-org/zellij/pull/1129) ## [0.25.0] - 2022-02-22 * Fix: replace the library with the dependency problem (https://github.com/zellij-org/zellij/pull/1001)