From 62dc435e3adf9236606f56defc653bd993eae6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Sun, 11 Sep 2022 00:07:19 +1200 Subject: [PATCH] Fix bin metadata (#369) --- crates/bin/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/bin/Cargo.toml b/crates/bin/Cargo.toml index 52299fc3..39d67ea9 100644 --- a/crates/bin/Cargo.toml +++ b/crates/bin/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cargo-binstall" description = "Rust binary package installer for CI integration" -repository = "https://github.com/ryankurte/cargo-binstall" +repository = "https://github.com/cargo-bins/cargo-binstall" documentation = "https://docs.rs/cargo-binstall" version = "0.13.0" rust-version = "1.61.0" @@ -9,7 +9,10 @@ authors = ["ryan "] edition = "2021" license = "GPL-3.0" +# These MUST remain even if they're not needed in recent versions because +# OLD versions use them to upgrade [package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }" bin-dir = "{ bin }{ binary-ext }" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]