You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tool uses the URL of the repository to populate links in the changelog when updating it. The logic to obtain this URL, however, is different from the logic that the auto-changelog executable uses when it validates the changelog. Namely, this tool uses git config --get remote.origin.url, whereas auto-changelog reads it from the package.json (in the case of a Yarn v3 project, anyway). We should make these the same so that create-release-branch does not update the changelog in such a way that makes it invalid.
The text was updated successfully, but these errors were encountered:
mcmire
changed the title
Use logic from auto-changelog to get repository URL
Changelogs are updated with incorrect URLs if developer uses a non-standard URL for origin remote
Dec 4, 2024
This tool uses the URL of the repository to populate links in the changelog when updating it. The logic to obtain this URL, however, is different from the logic that the
auto-changelog
executable uses when it validates the changelog. Namely, this tool usesgit config --get remote.origin.url
, whereasauto-changelog
reads it from thepackage.json
(in the case of a Yarn v3 project, anyway). We should make these the same so thatcreate-release-branch
does not update the changelog in such a way that makes it invalid.The text was updated successfully, but these errors were encountered: