Skip to content

Commit 2955f12

Browse files
mixonictwokul
authored andcommitted
Document how to prerelease
1 parent 5cee396 commit 2955f12

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

RELEASE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,17 @@ release process. It will prompt you to to choose the version number after which
5858
you will have the chance to hand tweak the changelog to be used (for the
5959
`CHANGELOG.md` and GitHub release), then `release-it` continues on to tagging,
6060
pushing the tag and commits, etc.
61+
62+
To start a prerelease branch for a new major use:
63+
64+
```sh
65+
npx release-it major --preRelease=beta
66+
```
67+
68+
On subsequent prerelease run:
69+
70+
```sh
71+
npx release-it --preRelease
72+
```
73+
74+
For more guidance see https://github.com/release-it/release-it/blob/master/docs/pre-releases.md

0 commit comments

Comments
 (0)