doc: mention push.followTags config

This has happened in v20.13.0 release. Adding this doc
to prevent edge cases where the releaser will sign and push
but won't be able to promote the release.

PR-URL: https://github.com/nodejs/node/pull/52906
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
pull/51120/head
Rafael Gonzaga 2024-05-12 14:20:51 -03:00 committed by GitHub
parent dde2965765
commit 06619aa058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 1 deletions

View File

@ -726,7 +726,17 @@ Install `git-secure-tag` npm module:
npm install -g git-secure-tag
```
Create a tag using the following command:
> Ensure to disable `--follow-tags` in your git settings using: `git config push.followTags false`
If your private key is protected by a passphrase, you might need to run:
```bash
export GPG_TTY=$(tty)
```
before creating the tag.
To create a tag use the following command:
```bash
git secure-tag <vx.y.z> <commit-sha> -sm "YYYY-MM-DD Node.js vx.y.z (<release-type>) Release"