semver-common 1.2.1

Common library to use for semantic release core and plugins.
Documentation
1
2
3
4
5
6
7
8
9
pub mod version {
    use crate::{Version, mock};

    pub fn create() -> Version {
        let (major, minor, patch) = Version::parse("v1.9.2").unwrap();
        let changes = mock::commit_map::create();
        Version::new(major, minor, patch, changes)
    }
}