Skip to content
Snippets Groups Projects
Unverified Commit 6d638efb authored by Jesse Houwing's avatar Jesse Houwing Committed by GitHub
Browse files

docs: adds configuration template to revert standard naming convention for Azure Pipelines (#20208)

parent 9ead5d22
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,23 @@ To opt into running it, set the following: ...@@ -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: For example:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment