Skip to content

release-post script breaks if there is a line after a header link #837

New issue

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

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

Already on GitHub? # to your account

Closed
evanlucas opened this issue Jul 22, 2016 · 1 comment
Closed

Comments

@evanlucas
Copy link
Contributor

If there is a line after the <a id="6.3.1"></a> header link in node changelogs, the release-post script breaks

@lpinca
Copy link
Member

lpinca commented Jul 22, 2016

The problem is in these two regex 1, 2. The second one does not match as there is a leading \n.
I think the beast approach to fix this is to trim the matched section.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants