From cd6136d67ee83b262a34dd7a230e1e3ae4799ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20D=27Eredit=C3=A0?= <3630857+maxiride@users.noreply.github.com> Date: Tue, 21 Dec 2021 18:24:12 +0100 Subject: [PATCH] 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`. --- docs/usage/workflow-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/workflow-configuration.md b/docs/usage/workflow-configuration.md index eafa4075..37d2bdb0 100644 --- a/docs/usage/workflow-configuration.md +++ b/docs/usage/workflow-configuration.md @@ -91,7 +91,7 @@ For example the configuration `['master', {name: 'pre/rc', prerelease: '${name.r branches: [ {name: 'master'}, {name: 'pre/rc', channel: 'pre/rc', prerelease: 'rc'}, // `prerelease` is built with the template `${name.replace(/^pre\\//g, "")}` - {name: 'beta', channel: 'beta', prerelease: 'beta'}, // `prerelease` is set to `beta` as it is the value of `name` + {name: 'beta', channel: 'beta', prerelease: true}, // `prerelease` is set to `beta` as it is the value of `name` ] } ```