semantic_release.history.parser_angular module

Angular commit style parser

https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines

semantic_release.history.parser_angular.parse_commit_message(message: str) ParsedCommit[source]

Parse a commit message according to the angular commit guidelines specification.

Parameters:

message – A string of a commit message.

Returns:

A tuple of (level to bump, type of change, scope of change, a tuple with descriptions)

Raises:

UnknownCommitMessageStyleError – if regular expression matching fails