semantic_release.commit_parser.tag module#

Legacy commit parser from Python Semantic Release 1.0

class semantic_release.commit_parser.tag.TagCommitParser(options: _OPTS)[source]#

Bases: CommitParser[Union[ParsedCommit, ParseError], TagParserOptions]

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.

parse(commit: Commit) ParsedCommit | ParseError[source]#
parser_options#

alias of TagParserOptions

class semantic_release.commit_parser.tag.TagParserOptions(minor_tag: str = ':sparkles:', patch_tag: str = ':nut_and_bolt:')[source]#

Bases: ParserOptions

minor_tag: str = ':sparkles:'#
patch_tag: str = ':nut_and_bolt:'#