Skip to content

Commit 1b1a358

Browse files
committed
fixup!
1 parent 9f41de9 commit 1b1a358

File tree

1 file changed

+34
-6
lines changed

1 file changed

+34
-6
lines changed

doc/contributing/releases.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ official release builds for Node.js, hosted on <https://nodejs.org/>.
3131
* [15. Promote and sign the release builds](#15-promote-and-sign-the-release-builds)
3232
* [16. Check the release](#16-check-the-release)
3333
* [17. Create the release on GitHub](#17-create-the-release-on-github)
34-
* [17.1 Merge the blog post](#171-merge-the-blog-post)
34+
* [18. Create a blog post](#18-create-a-blog-post)
3535
* [19. Announce](#19-announce)
3636
* [20. Celebrate](#20-celebrate)
3737
* [LTS releases](#lts-releases)
@@ -1079,12 +1079,40 @@ at <https://nodejs.org/dist/index.tab> and <https://nodejs.org/dist/index.json>.
10791079
"Set as the latest release".
10801080
* Click on the "Publish release" button.
10811081

1082-
#### 17.1 Merge the Blog Post
1082+
### 18. Create a blog post
10831083

1084-
Once a release is created, an automation will open a PR in the [nodejs.org repository][]
1085-
to create a blog post. You can add a short blurb just under the main heading if you want
1086-
to say something important, otherwise the text should be publication ready. Be respectful
1087-
of the website team, but you do not have to wait for PR sign-off.
1084+
There is an automatic build that is kicked off when you promote new builds, so
1085+
within a few minutes nodejs.org will be listing your new version as the latest
1086+
release, and a blog post draft PR will be created.
1087+
1088+
In the event that a draft PR _is not created_, the following script can be used
1089+
as an alternative:
1090+
1091+
```bash
1092+
node ./apps/site/scripts/release-post/index.mjs x.y.z
1093+
```
1094+
1095+
This script will use the promoted builds and changelog to generate the post.
1096+
1097+
* You can add a short blurb just under the main heading if you want to say
1098+
something important, otherwise the text should be publication ready.
1099+
1100+
* The links to the download files won't be complete unless you waited for the
1101+
ARMv6 builds. Any downloads that are missing will have `*Coming soon*` next to
1102+
them. It's your responsibility to manually update these later when you have
1103+
the outstanding builds.
1104+
1105+
* The `SHASUMS256.txt.asc` content is at the bottom of the post. When you update
1106+
the list of tarballs you'll need to copy/paste the new contents of this file
1107+
to reflect those changes.
1108+
1109+
* Always use pull-requests on the [nodejs.org repository][]. Be respectful
1110+
of the website team, but you do not have to wait for PR sign-off.
1111+
1112+
* Changes to the base branch, `main`, on the [nodejs.org repository][] will
1113+
trigger a new build of nodejs.org, so your changes should appear a few minutes
1114+
after pushing. You can follow the [Deployments](https://github.com/nodejs/nodejs.org/deployments) page
1115+
to see when the build finishes and gets published.
10881116

10891117
### 19. Announce
10901118

0 commit comments

Comments
 (0)