Skip to content

Commit 2a9df06

Browse files
committed
doc: mention GPG=$(TTY) when signing tag
1 parent e50db68 commit 2a9df06

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/contributing/releases.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,15 @@ npm install -g git-secure-tag
712712

713713
> Ensure to disable `--follow-tags` in your git settings using: `git config push.followTags false`
714714
715-
Create a tag using the following command:
715+
If your GPG key is protected by a password, you might need to run:
716+
717+
```console
718+
$ export GPG_TTY=$(tty)
719+
```
720+
721+
before creating the tag.
722+
723+
To create a tag using the following command:
716724

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

0 commit comments

Comments
 (0)