semantic_release.changelog.compare module

semantic_release.changelog.compare.compare_url(version: str, previous_version: Optional[str] = None, **kwargs) Optional[str][source]
semantic_release.changelog.compare.get_github_compare_url(from_version: str, to_version: str) str[source]

Get the GitHub comparison link between two version tags.

Parameters
  • from_version – The older version to compare.

  • to_version – The newer version to compare.

Returns

Link to view a comparison between the two versions.