Skip to main content

compute_version

Function compute_version 

Source
pub fn compute_version(project_root: &Path) -> Result<Version, VersionError>
Expand description

Compute the full version: the baseline resolved from the highest reachable semver tag (D-07), bumped by the conventional-commit classification of the commits added since that baseline was released (D-08). The version file is NOT read here (D-11) — write_version is the only writer, and read_version is the only reader of what’s on disk.