Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use logic from auto-changelog to get repository URL #72

Open
mcmire opened this issue Jan 31, 2023 · 0 comments
Open

Use logic from auto-changelog to get repository URL #72

mcmire opened this issue Jan 31, 2023 · 0 comments

Comments

@mcmire
Copy link
Contributor

mcmire commented Jan 31, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant