conventional
library
Functions
-
buildlessVersion(Version version)
→ Version
-
Generates a version that doesn't have build numbers
-
changelogSummary({required List<Commit> commits, required String version, DateTime? now})
→ Future<ChangeSummary?>
-
Outputs a would-be content to a changelog file based on commits.
-
hasReleasableCommits(List<Commit> commits)
→ bool
-
Checks whether a list of commits has commits that can be released.
-
lintCommit(String commitMessage, {LintConfig? config, List<LintRule>? rules})
→ LintResult
-
Checks whether a commit message follows
rules
-
nextVersion(Version currentVersion, List<Commit> commits, {bool incrementBuild = false, bool afterV1 = false, String? pre})
→ Version
-
Bump up a
currentVersion
based on a list of commits
-
writeChangelog({required List<Commit> commits, required String changelogFilePath, required String version, DateTime? now})
→ Future<ChangeSummary?>
-
Writes to a changelog file based on commits.
-
writeChangelogToFile({required List<Commit> commits, required File file, required String version, DateTime? now})
→ Future<ChangeSummary?>
-
Writes to a changelog file based on commits.