Skip to main content

build_update_info

Function build_update_info 

Source
pub fn build_update_info(
    running_version: String,
    update: Option<UpdatePayload>,
) -> UpdateInfo
Expand description

Pure mapping from “running version + optional plugin result” to the renderer-facing UpdateInfo. Hardcoded v prefix on the release URL matches the release tagging convention (v0.0.1, v0.1.0, …) documented in CONTRIBUTING.md. Untag-prefixed releases would break the deep-link — change here and in the workflow together if the convention ever shifts.