docs(extractVersion): improve grammar (#13072)

This commit is contained in:
HonkingGoose 2021-12-12 15:59:33 +01:00 committed by GitHub
parent f7adaf732b
commit 2128878fa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: