mirror of https://github.com/nodejs/node.git
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
parent
dde2965765
commit
06619aa058
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue