doc: updating REPLACEME tag during release
Add a paragraph to the releases.md guide to document replacing the REPLACEME tag with the release version for new APIs. PR-URL: https://github.com/nodejs/node/pull/7514 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
This commit is contained in:
parent
6ee9e29652
commit
b10ee9deae
@ -145,11 +145,21 @@ is shown in **bold** in the index. When updating the index, please make sure
|
|||||||
to update the display accordingly by removing the bold styling from the previous
|
to update the display accordingly by removing the bold styling from the previous
|
||||||
release.
|
release.
|
||||||
|
|
||||||
|
#### Step 3: Update any REPLACEME tags in the docs
|
||||||
|
|
||||||
|
If this release includes new APIs then it is necessary to document that they
|
||||||
|
were first added in this version. The relevant commits should already include
|
||||||
|
`REPLACEME` tags as per the example in the
|
||||||
|
[docs README](../tools/doc/README.md). Check for these tags with
|
||||||
|
`grep REPLACEME doc/api/*.md`, and substitute this node version with
|
||||||
|
`sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md` or
|
||||||
|
`perl -pi -e "s/REPLACEME/$VERSION/g" doc/api/*.md`.
|
||||||
|
|
||||||
### 4. Create Release Commit
|
### 4. Create Release Commit
|
||||||
|
|
||||||
The `CHANGELOG.md`, `doc/changelogs/CHANGELOG_*.md`, and `src/node_version.h`
|
The `CHANGELOG.md`, `doc/changelogs/CHANGELOG_*.md`, `src/node_version.h`, and
|
||||||
changes should be the final commit that will be tagged for the release. When
|
`REPLACEME` changes should be the final commit that will be tagged for the
|
||||||
committing these to git, use the following message format:
|
release. When committing these to git, use the following message format:
|
||||||
|
|
||||||
```
|
```
|
||||||
YYYY-MM-DD, Version x.y.z (Release Type)
|
YYYY-MM-DD, Version x.y.z (Release Type)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user