hasReleasableCommits function

bool hasReleasableCommits(
  1. List<Commit> commits
)

Checks whether a list of commits has commits that can be released.

Implementation

bool hasReleasableCommits(List<Commit> commits) {
  for (final commit in commits) {
    if (releasableCommitTypes.contains(commit.type)) {
      return true;
    }
  }
  return false;
}