semantic_release.commit_parser.tag module¶
Legacy commit parser from Python Semantic Release 1.0
- class semantic_release.commit_parser.tag.TagCommitParser(options: _OPTS | None = None)[source]¶
Bases:
CommitParser[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.
- static get_default_options() TagParserOptions[source]¶
- parse(commit: Commit) ParsedCommit | ParseError | list[ParsedCommit | ParseError][source]¶
- parser_options¶
alias of
TagParserOptions