Skip to content

Commit 0d24ac6

Browse files
acalcuttbenmccann
andcommitted
Update RELEASE.md
Co-authored-by: Ben McCann <[email protected]>
1 parent e6cc652 commit 0d24ac6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RELEASE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ npm version <update_type> --preid pre --no-git-tag-version
99
`--preid` specifies which suffix to use in the release such as `pre`, `next`, `beta`, `rc`, etc.
1010

1111
`prepatch`, `preminor`, and `premajor` start a new series of pre-releases while bumping the patch, minor, or major version. E.g. `premajor` with `--preid pre` would do a prerelease for a new major using the `-pre` suffix (i.e. it would be a new major with `-pre.0`)
12+
13+
You can use `prerelease` to bump the version for a new pre-release version. E.g. you could run `npm version prerelease --preid pre --no-git-tag-version` to go from `-pre.0` to `-pre.1`.
14+
15+
For regular versions, you can use `patch`, `minor`, or `major`. E.g. `npm version major --no-git-tag-version`.
16+
1217
2. Update the changelog, which can be found in `CHANGELOG.md`. The heading must match `## <VERSION>` exactly, or it will not be picked up. For example, for version 1.0.11:
1318

1419
```

0 commit comments

Comments
 (0)