Skip to content

Commit 8dff974

Browse files
docs: add beta release support
1 parent 9f922a4 commit 8dff974

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,15 @@ branches:
116116
- /^v\d+\.\d+\.\d+$/
117117
```
118118
119+
## Beta release support
120+
Beta release support empowers you to release beta, rc, etc. versions with `semantic-release` (e.g. v2.0.0-beta.1). To enable this feature you need to create a new branch (e.g. beta/v2) and check in a `.semrelrc` file with the following content:
121+
```
122+
{
123+
"maintainedVersion": "2-beta"
124+
}
125+
```
126+
If you commit to this branch a new incremental pre-release is created everytime you push. (2.0.0-beta.1, 2.0.0-beta.2, ...)
127+
119128
## Licence
120129
121130
The [MIT License (MIT)](http://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)