Skip to content

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

Merged
phillipj merged 1 commit into
masterfrom
gh-733
May 31, 2016
Merged

Make the release script work with the new changelog structure#739
phillipj merged 1 commit into
masterfrom
gh-733

Conversation

@lpinca

@lpinca lpinca commented May 12, 2016

Copy link
Copy Markdown
Member

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

rvagg commented May 13, 2016

Copy link
Copy Markdown
Member

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

Comment thread scripts/release-post.js Outdated

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
Copy Markdown
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
Copy Markdown
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

lpinca commented May 20, 2016

Copy link
Copy Markdown
Member Author

I'll address the comments tomorrow.

@lpinca

lpinca commented May 21, 2016

Copy link
Copy Markdown
Member Author

Updated.

@phillipj phillipj mentioned this pull request May 25, 2016
@phillipj

Copy link
Copy Markdown
Member

LGTM.

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

@phillipj
phillipj merged commit 9f456ef into master May 31, 2016
@phillipj
phillipj deleted the gh-733 branch May 31, 2016 18:07
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.

3 participants