diff --git a/lib/modules/manager/azure-pipelines/readme.md b/lib/modules/manager/azure-pipelines/readme.md index c746b53014bcfa8aec5c2efc9e39e4e73bcbcbee..7903346f2ba24e5d00a0c72e5ca5955b0333c303 100644 --- a/lib/modules/manager/azure-pipelines/readme.md +++ b/lib/modules/manager/azure-pipelines/readme.md @@ -11,7 +11,23 @@ To opt into running it, set the following: } ``` -It works by container and repository resources from the `resources` block as well as tasks from `steps` blocks. +In most cases only major version numbers are specified in YAML when referencing a task version: `NodeTool@0`. +By default, Renovate replaces these with the full version: `NodeTool@0.216.0`. + +To use the standard convention for Azure Pipelines, add: + +```json +{ + "packageRules": [ + { + "matchDatasources": ["azure-pipelines-tasks"], + "extractVersion": "^(?<version>\\d+)" + } + ] +} +``` + +Renovate now updates container and repository resources from the `resources` block, plus tasks from `steps` blocks. For example: