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

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

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.

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

No branches or pull requests

2 participants