Skip to content

Commit

Permalink
doc: add an explicit fetch tag step in release guide
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jul 12, 2024
1 parent 24648b5 commit dd05fd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/contributing/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ You can integrate the PRs into the proposal without running full CI.
⚠️ At this point, you can either run `git node release --prepare`:

```console
$ # You need to have locally the tag of the latest release of the release line
$ git fetch http://github.com/nodejs/node.git tag -n vx.b.c
$ git node release --prepare x.y.z
```

Expand Down Expand Up @@ -347,7 +349,8 @@ in the repository was not on the current branch you may have to supply a
`--start-ref` argument:

```bash
changelog-maker --group --markdown --filter-release --start-ref v1.2.2
git fetch http://github.com/nodejs/node.git tag -n v1.2.2
changelog-maker --group --markdown --filter-release --start-ref FETCH_HEAD
```

`--filter-release` will remove the release commit from the previous release.
Expand Down

0 comments on commit dd05fd9

Please sign in to comment.