Skip to content

Commit cd6136d

Browse files
authoredDec 21, 2021
docs: wrong prerelease example (#2307)
The documentation says: > If the `prerelease` property is set to `true` the `name` value will be used. But then the example referring to this behaviour has the the `prerelease` value set to `'beta'` instead of `true`.
1 parent e62c83d commit cd6136d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/usage/workflow-configuration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ For example the configuration `['master', {name: 'pre/rc', prerelease: '${name.r
9191
branches: [
9292
{name: 'master'},
9393
{name: 'pre/rc', channel: 'pre/rc', prerelease: 'rc'}, // `prerelease` is built with the template `${name.replace(/^pre\\//g, "")}`
94-
{name: 'beta', channel: 'beta', prerelease: 'beta'}, // `prerelease` is set to `beta` as it is the value of `name`
94+
{name: 'beta', channel: 'beta', prerelease: true}, // `prerelease` is set to `beta` as it is the value of `name`
9595
]
9696
}
9797
```

0 commit comments

Comments
 (0)
Please sign in to comment.