Skip to content

release-post script is broken #6020

Closed
Closed

Description

@RafaelGSS
➜  nodejs.org git:(v21-release) ✗ node ./scripts/release-post/index.mjs 21.0.0
Some error occurred here! TypeError: Cannot read properties of null (reading 'length')
    at file:///Users/rafaelgss/repos/os/nodejs.org/scripts/release-post/index.mjs:153:15
    at new Promise (<anonymous>)
    at file:///Users/rafaelgss/repos/os/nodejs.org/scripts/release-post/index.mjs:152:12
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)

cc: @ovflowd

For now, I'll checkout a prior commit to make it work.

Activity

  1. ovflowd commented on Oct 17, 2023

    @ovflowd
    Member

    @RafaelGSS the actual error is "Some error occurred here! Error: Could not find changelog body of 21.0.0 release"

  2. RafaelGSS commented on Oct 17, 2023

    @RafaelGSS
    MemberAuthor

    Yes, I'm looking to it now. Looks like a "Notable Changes" section is desirable.

  3. ovflowd commented on Oct 17, 2023

    @ovflowd
    Member

    Right, it's a "mandatory section" afaik

  4. RafaelGSS commented on Oct 17, 2023

    @RafaelGSS
    MemberAuthor

    It shouldn't. As well as the "commit" section. It doesn't fit semver-major commits. Anyway, I have a fix locally to upload the blog post, I'll open a PR soon.

  5. ovflowd commented on Oct 17, 2023

    @ovflowd
    Member

    It shouldn't. As well as the "commit" section. It doesn't fit semver-major commits. Anyway, I have a fix locally to upload the blog post, I'll open a PR soon.

    Are you sure about that? The old commit also required them, no?

  6. RafaelGSS commented on Oct 17, 2023

    @RafaelGSS
    MemberAuthor

    Not for semver-major releases.

  7. ovflowd commented on Oct 17, 2023

    @ovflowd
    Member

    Not for semver-major releases.

    Let me double-check the original code. Because I can definitely see a rejection there on the original code.

  8. ovflowd commented on Oct 17, 2023

    @ovflowd
    Member

    Right, I think I see the issue. Pushing a hot-fix. Would you mind waiting a little bit?

  9. RafaelGSS commented on Oct 17, 2023

    @RafaelGSS
    MemberAuthor

    #6022 I have the blog post ready. No need to rush.

  10. ovflowd commented on Oct 17, 2023

    @ovflowd
    Member

    #6022 I have the blog post ready. No need to rush.

    It's not about rushing, but about validating that the updated script works. Anyhow, I've pushed a hotfix.

  11. RafaelGSS commented on Oct 17, 2023

    @RafaelGSS
    MemberAuthor

    Confirmed the hotfix works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions