mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 20:32:36 +08:00
14
tools/codegen/base/knope.json
Normal file
14
tools/codegen/base/knope.json
Normal 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": {}
|
||||
}
|
||||
}
|
||||
@@ -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!()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user