semantic_release.history.parser_tag module

Legacy commit parser from Python Semantic Release 1.0

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

Parse a commit message according to the 1.0 version of python-semantic-release.

It expects a tag of some sort in the commit message and will use the rest of the first line as changelog content.

Parameters:

message – A string of a commit message.

Raises:

UnknownCommitMessageStyleError – If it does not recognise the commit style

Returns:

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