Skip to content

Commit 15db3ef

Browse files
RafaelGSStargos
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 <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 0deef2d commit 15db3ef

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/contributing/releases.md

Lines changed: 11 additions & 1 deletion
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)