From 2128878fa50638d6f3002e1180d97a7de4774ad0 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Sun, 12 Dec 2021 15:59:33 +0100 Subject: [PATCH] docs(extractVersion): improve grammar (#13072) --- docs/usage/configuration-options.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md index 9ab26c26e3..7a738e9905 100644 --- a/docs/usage/configuration-options.md +++ b/docs/usage/configuration-options.md @@ -641,8 +641,8 @@ See [shareable config presets](https://docs.renovatebot.com/config-presets) for ## extractVersion -Use this only when the raw version strings from the datasource do not match the expected format that you need in your package file. -You must defined a "named capture group" called `version` as shown in the below examples. +Only use this config option when the raw version strings from the datasource do not match the expected format that you need in your package file. +You must define a "named capture group" called `version` like in the examples below. For example, to extract only the major.minor precision from a GitHub release, the following would work: -- GitLab