Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 091b4bf

Browse filesBrowse files
committed
doc: add note about ssh key to releases
PR-URL: #31856 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f858f23 commit 091b4bf
Copy full SHA for 091b4bf

File tree

Expand file treeCollapse file tree

1 file changed

+24
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+24
-2
lines changed
Open diff view settings
Collapse file

‎doc/releases.md‎

Copy file name to clipboardExpand all lines: doc/releases.md
+24-2Lines changed: 24 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,30 @@ formatting passes the lint rules on `master`.
553553
to promote the builds as the `SHASUMS256.txt` file needs to be signed with the
554554
same GPG key!**
555555

556-
Use `tools/release.sh` to promote and sign the build. When run, it will perform
557-
the following actions:
556+
Use `tools/release.sh` to promote and sign the build. Before doing this, you'll
557+
need to ensure you've loaded the correct ssh key, or you'll see the following:
558+
559+
```sh
560+
# Checking for releases ...
561+
Enter passphrase for key '/Users/<user>/.ssh/id_rsa':
562+
dist@direct.nodejs.org's password:
563+
```
564+
565+
The key can be loaded either with `ssh-add`:
566+
567+
```sh
568+
# Substitute node_id_rsa with whatever you've named the key
569+
$ ssh-add ~/.ssh/node_id_rsa
570+
```
571+
572+
or at runtime with:
573+
574+
```sh
575+
# Substitute node_id_rsa with whatever you've named the key
576+
$ ./tools/release.sh -i ~/.ssh/node_id_rsa
577+
```
578+
579+
`tools/release.sh` will perform the following actions when run:
558580

559581
**a.** Select a GPG key from your private keys. It will use a command similar
560582
to: `gpg --list-secret-keys` to list your keys. If you don't have any keys, it

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.