Skip to content

Make release blog post script compatible with v0.12.x releases #380

@phillipj

Description

@phillipj

As noted by @rvagg while creating the release notes for v0.12.8 in #379, the ./scripts/release-post.js script which usually creates these blog posts, isn't compatible with v0.12.x releases. Since v0.12 is still supported and will get important fixes, the release blog post script should be able to handle these versions aswell.

Trying to run the script for v0.12.8 quickly reveals atleast one thing needs fixing:

# delete existing blog post first, it will fail if it already exists
→ rm locale/en/blog/release/v0.12.8.md
→ ./scripts/release-post.js 0.12.8
Some error occured here! Error: Invalid status code (!= 200) while retrieving https://raw.githubusercontent.com/nodejs/node/v0.12.8/CHANGELOG.md: 404
    at ClientRequest.<anonymous> (/nodejs.org/scripts/release-post.js:46:23)
    at ClientRequest.g (events.js:260:16)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions