Add knope (#553)

* Add knope

* Update tag_prefix
This commit is contained in:
John Vandenberg
2024-06-21 19:35:52 +10:00
committed by GitHub
parent a6c0face45
commit 8162519fa9
4 changed files with 105 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"repository": "https://github.com/knope-dev/knope",
"tag_prefix": "knope/v",
"rust_crate": "${package}",
"asset_name": "${package}-${rust_target}.tgz",
"bin": "${package}-${rust_target}/${package}${exe}",
"version_range": ">= 0.16.0",
"platform": {
"x86_64_linux_musl": {},
"x86_64_macos": {},
"x86_64_windows": {},
"aarch64_macos": {}
}
}
+1 -1
View File
@@ -512,7 +512,7 @@ fn main() -> Result<()> {
}
let ManifestRef::Ref { version: latest_version } =
manifests.map.first_key_value().unwrap().1.clone()
manifests.map.first_key_value().expect("no versions found").1.clone()
else {
unreachable!()
};