diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ce4e08..d852017 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Fixed + +- Stop appending extra `v` to latest tag in change URLs + ## [0.0.1] - 2024-08-09 ### Changed diff --git a/bumpchanges/changelog.py b/bumpchanges/changelog.py index 32bd596..82c676e 100644 --- a/bumpchanges/changelog.py +++ b/bumpchanges/changelog.py @@ -350,7 +350,7 @@ def render(self) -> str: if version.version == "Unreleased": this_tag = None else: - this_tag = f"v{version.version}" + this_tag = f"{version.version}" if prior_tag: href = f"{self.repo_url}/compare/{prior_tag}...{this_tag if this_tag else 'HEAD'}"