Skip to content

Commit

Permalink
docs: versioning should not be combined with matchUpdateTypes (#1…
Browse files Browse the repository at this point in the history
…7220)

Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
colinodell and rarkins committed Aug 17, 2022
1 parent b2e763e commit 275ef41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/usage/modules/versioning.md
Expand Up @@ -22,7 +22,8 @@ Configuring or overriding the default `versioning` can be particularly helpful f

- Although you can reconfigure versioning per-manager or per-datasource, it's unlikely that such a broad change would ever be needed
- More commonly you would need to configure `versioning` for individual packages or potentially package patterns
- The best way to do this is with `packageRules`, with a combination of `matchManagers`, `matchDatasources`, `matchPackageNames` and `matchPackagePatterns`
- The best way to do this is with `packageRules`, with a combination of `matchManagers`, `matchDatasources`, `matchPackageNames` and `matchPackagePatterns`.
Avoid configuring `versioning` in a rule that also uses `matchUpdateTypes`, as the update types aren't known at the time the `versioning` is applied.

## Examples of versioning overrides

Expand Down

0 comments on commit 275ef41

Please sign in to comment.