From aa2607cf2c6567a7a8c88f0f0e620efd9b7a3a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> Date: Tue, 24 Aug 2021 00:11:39 +0300 Subject: [PATCH] docs(versioning): remove `versionScheme` references (#11397) Co-authored-by: Jamie Magee <jamie.magee@gmail.com> --- docs/usage/modules/versioning.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage/modules/versioning.md b/docs/usage/modules/versioning.md index e5fcd8ef99..df24d46c8e 100644 --- a/docs/usage/modules/versioning.md +++ b/docs/usage/modules/versioning.md @@ -12,12 +12,12 @@ It's impossible to automatically detect **all** versioning schemes, so sometimes You can manually configure/override the `versioning` value for a particular dependency. You generally won't need to override the defaults for ecosystems which enforce a strict version scheme like `npm`. -Configuring or overriding the default `versionScheme` can be particularly helpful for ecosystems like Docker/Kubernetes/Helm, where versioning is barely a "convention". +Configuring or overriding the default `versioning` can be particularly helpful for ecosystems like Docker/Kubernetes/Helm, where versioning is barely a "convention". ## General concepts behind overriding versioning - 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 `versionScheme` for individual packages or potentially package patterns +- 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` ## Examples of versioning overrides @@ -45,7 +45,7 @@ The configuration below overrides Renovate's default `docker` versioning for the "packageRules": [ { "matchPackageNames": ["foo/bar"], - "versionScheme": "regex:^(?<compatibility>.*)-v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$" + "versioning": "regex:^(?<compatibility>.*)-v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$" } ] } -- GitLab