fix version matching, now works with semver

This commit is contained in:
ryan 2020-12-31 15:32:58 +13:00
parent a6c70b41e2
commit ef6a3d0ef7
4 changed files with 210 additions and 45 deletions

View file

@ -7,10 +7,6 @@ authors = ["ryan <ryan@kurte.nz>"]
edition = "2018"
license = "GPL-3.0"
[package.metadata.binstall]
pkg-url = "https://github.com/ryankurte/cargo-binstall/releases/download/v{ version }/cargo-binstall-{ target }.tgz"
pkg-fmt = "tgz"
[[pkg_bin]]
name = "cargo-binstall"
path = "cargo-binstall-{ target }"
@ -34,10 +30,8 @@ strum_macros = "0.20.1"
strum = "0.20.0"
dirs = "3.0.1"
serde_derive = "1.0.118"
crates-index = "0.16.2"
semver = "0.11.0"
[dev-dependencies]
env_logger = "0.8.2"
#github = "0.1.2"
[patch.crates-io]
#reqwest = { git = "https://github.com/seanmonstar/reqwest.git" }