fix(changelog): pin git-cliff remote so compare links resolve#24
Merged
Conversation
git-cliff's auto-detection of the GitHub owner/repo failed transiently during `task release`, rendering the footer links as `https://github.com///compare/...` (empty owner/repo). Pin them via an explicit [remote.github] section so the output is deterministic, and repair the already-broken links baked into v0.1.0..v0.5.2. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## devel #24 +/- ##
=======================================
Coverage 84.78% 84.78%
=======================================
Files 10 10
Lines 677 677
=======================================
Hits 574 574
Misses 65 65
Partials 38 38 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The changelog footer's compare/tree links render as
https://github.com///compare/...(empty owner/repo) for every versionv0.1.0–v0.5.2. The footer template uses{{ remote.github.owner }}/{{ remote.github.repo }}, and git-cliff's auto-detection of those values failed transiently duringtask release, baking the empty result intoCHANGELOG.md.Fix
cliff.toml: add an explicit[remote.github]section (owner = "peczenyj",repo = "structalign") so the links are deterministic and never depend on auto-detection / a remote lookup.CHANGELOG.md: repair the 7 already-broken links (https://github.com///→https://github.com/peczenyj/structalign/).Verification
git cliff --tag v0.5.2now renders correctcompare/andtree/URLs for all versions;grep "github.com///" CHANGELOG.mdreturns nothing.🤖 Generated with Claude Code