semantic_release.history.parser_helpers module

Commit parser helpers

class semantic_release.history.parser_helpers.ParsedCommit(bump, type, scope, descriptions, breaking_descriptions)

Bases: tuple

breaking_descriptions

Alias for field number 4

bump

Alias for field number 0

descriptions

Alias for field number 3

scope

Alias for field number 2

type

Alias for field number 1

semantic_release.history.parser_helpers.parse_paragraphs(text: str) List[str][source]

This will take a text block and return a tuple containing each paragraph with single line breaks collapsed into spaces.

Parameters:

text – The text string to be divided.

Returns:

A tuple of paragraphs.