Skip to main content

release_asset_name

Function release_asset_name 

Source
pub fn release_asset_name(version: &str) -> Option<String>
Expand description

The release-asset name for one platform, without the .sha256 suffix.

This is a contract with the packaging steps in .github/workflows/release.yml, which build these exact names. A mismatch is not a compile error and not a test failure — it is a self-update that 404s on the day of a release — so the two are commented as referring to each other.

None on a platform the release does not build for, which is how a source build on, say, FreeBSD declines the direct route instead of downloading a Linux binary.