Skip to main content

propose

Function propose 

Source
pub fn propose(
    current: Version,
    released: bool,
    cliff: Option<&str>,
) -> Proposal
Expand description

The version the request proposes.

SATISFIES release-engine:the-request-never-numbers-a-candidate

A candidate proposes nothing: only rk lines mint writes and strips an rc number. A final version with no release proposes itself, except the 0.0.0 baseline, which never releases and takes git-cliff’s proposal. A released final version takes git-cliff’s bumped version, and a prerelease proposal refuses. cliff is git-cliff’s answer, read where needs_cliff says so.