Skip to main content

asset_names

Function asset_names 

Source
pub fn asset_names(tag: &str, triple: &str) -> (String, String)
Expand description

Archive and checksum asset names for a tag and triple. Must match the archive: pattern in .github/workflows/release.yml, which is bbcloud-$tag-$target; cargo-binstall’s default templates key off the crate name, which is why the prefix is bbcloud and not the binary name.

The checksum asset is named <base>.sha256, where <base> is the archive name without its .tar.gz extension — not <archive>.tar.gz.sha256. That’s how taiki-e/upload-rust-binary-action actually publishes it; verified against the real v0.9.0 release assets.