releam/semver
Types
pub type Bump {
Bump(major: Bool, minor: Bool, patch: Bool)
}
Constructors
-
Bump(major: Bool, minor: Bool, patch: Bool)
Functions
pub fn define_bump_type(
commits: List(Commit),
) -> Option(BumpType)
Defines a semver bump type from a list of commits
pub fn define_commit_bump_type(
current: Commit,
) -> Option(BumpType)
Defines a semver bump type according to the commit type
pub fn update_bump(bump: Bump, update: Option(BumpType)) -> Bump