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

Make the release script work with the new changelog structure #739

Merged
merged 1 commit into from
May 31, 2016

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented May 12, 2016

This updates the release-post script to make it work with the new changelog structure.

It currently only works with:

  • CHANGELOG_V0{10,12}.md
  • CHANGELOG_V{4,5,6}.md

@rvagg
Copy link
Member

rvagg commented May 13, 2016

@nodejs/release if someone does a release before this lands you might want to check it out and give it a try


return sendRequest({
url: `https://raw.githubusercontent.com/nodejs/node/master/doc/changelogs/CHANGELOG_V${
parts[0] === '0' ? parts.slice(0, 2).join('') : parts[0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be extracted into a descriptive variable to increase readability?

@phillipj
Copy link
Member

Sorry for not reviewing this earlier! Other than my inline comments, SGTM.

Would have been nice to get it tested and confirmed by someone in @nodejs/release before merging it though.

@lpinca
Copy link
Member Author

lpinca commented May 20, 2016

I'll address the comments tomorrow.

@lpinca
Copy link
Member Author

lpinca commented May 21, 2016

Updated.

@phillipj phillipj mentioned this pull request May 25, 2016
@phillipj
Copy link
Member

LGTM.

I tested it with the latest versions from each release lines, seems to be working perfectly 👍

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

Successfully merging this pull request may close these issues.

None yet

3 participants