MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / IncrementalMergeInfo

Class IncrementalMergeInfo

commitizen/changelog.py:76–85  ·  view source on GitHub ↗

Information regarding the last non-pre-release, parsed from the changelog. Required to merge pre-releases on bump. Separate from Metadata to not mess with the interface.

Source from the content-addressed store, hash-verified

74
75@dataclass
76class IncrementalMergeInfo:
77 """
78 Information regarding the last non-pre-release, parsed from the changelog.
79
80 Required to merge pre-releases on bump.
81 Separate from Metadata to not mess with the interface.
82 """
83
84 name: str | None = None
85 index: int | None = None
86
87
88def get_commit_tag(commit: GitCommit, tags: list[GitTag]) -> GitTag | None:

Calls

no outgoing calls

Tested by 1