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

fix(pr): wrong release notes when releases found in URLs #5807

Merged
merged 2 commits into from
Mar 30, 2020

Conversation

ViralRuparel
Copy link
Contributor

@ViralRuparel ViralRuparel commented Mar 27, 2020

Fixes the issue of wrong release notes in PR body. Issue occurred when the CHANGELOG.md had an url linked with the version, due to which it had matching version two times, one in the actual version [v3.0.3] and another was when it had version number in the link url eg. (https://github.com/npm/hosted-git-info/compare/v3.0.3...v3.0.4)

Closes #4618

@ViralRuparel
Copy link
Contributor Author

BEFORE
image
AFTER
image

@rarkins
Copy link
Collaborator

rarkins commented Mar 28, 2020

Needs at least one test added. Should be one that fails on master but passes one this branch.

@ViralRuparel ViralRuparel force-pushed the fix/wrong-release-notes branch from 59fc5aa to 8113095 Compare March 29, 2020 19:46
@ViralRuparel
Copy link
Contributor Author

In master branch:
image
In this branch:
image

@rarkins rarkins changed the title fix: wrong release notes fix(pr): wrong release notes when releases found in URLs Mar 30, 2020
@rarkins rarkins merged commit 1a3c1f9 into renovatebot:master Mar 30, 2020
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 19.188.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong release notes in PR body
3 participants