mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
docs(extractVersion): improve grammar (#13072)
This commit is contained in:
parent
f7adaf732b
commit
2128878fa5
1 changed files with 2 additions and 2 deletions
|
@ -641,8 +641,8 @@ See [shareable config presets](https://docs.renovatebot.com/config-presets) for
|
||||||
|
|
||||||
## extractVersion
|
## 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.
|
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 defined a "named capture group" called `version` as shown in the below examples.
|
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:
|
For example, to extract only the major.minor precision from a GitHub release, the following would work:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue