Skip to main content

patch_bump_version

Function patch_bump_version 

Source
pub fn patch_bump_version(
    name: &str,
    version: &[u16],
) -> Result<ReleaseBump, UnsupportedVersion>
Expand description

What: Bump the patch component of a plain release version. Why: Only plain releases are bumped automatically.

In TS you’d write (pseudocode):

function patchBumpVersion({ name, version }): string; // throws UnsupportedVersionError