Skip to content

Commit cb4d4c0

Browse files
RafaelGSSmarco-ippolito
authored andcommitted
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: #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>
1 parent 6e581e2 commit cb4d4c0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/contributing/releases.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,17 @@ Install `git-secure-tag` npm module:
726726
npm install -g git-secure-tag
727727
```
728728

729-
Create a tag using the following command:
729+
> Ensure to disable `--follow-tags` in your git settings using: `git config push.followTags false`
730+
731+
If your private key is protected by a passphrase, you might need to run:
732+
733+
```bash
734+
export GPG_TTY=$(tty)
735+
```
736+
737+
before creating the tag.
738+
739+
To create a tag use the following command:
730740

731741
```bash
732742
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)