Skip to content

Commit

Permalink
doc: mention GPG=$(TTY) when signing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed May 8, 2024
1 parent e50db68 commit 2a9df06
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/contributing/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,15 @@ npm install -g git-secure-tag

> Ensure to disable `--follow-tags` in your git settings using: `git config push.followTags false`
Create a tag using the following command:
If your GPG key is protected by a password, you might need to run:

```console
$ export GPG_TTY=$(tty)
```

before creating the tag.

To create a tag using the following command:

```bash
git secure-tag <vx.y.z> <commit-sha> -sm "YYYY-MM-DD Node.js vx.y.z (<release-type>) Release"
Expand Down

0 comments on commit 2a9df06

Please sign in to comment.