0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-10-22 22:10:40 +00:00

fix: use more flexible opentofu required_version pattern

This commit is contained in:
Robert Kaussow 2024-08-20 17:13:34 +02:00
parent adfbd03eb5
commit 2bbeea1b60
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -12,13 +12,9 @@
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"fileMatch": [ "fileMatch": ["^terraform/.+.tf$", "^.woodpecker.ya?ml$"],
"^terraform/.+\\.tf$",
"^.woodpecker/.+\\.ya?ml$",
"^.drone.ya?ml$"
],
"matchStrings": [ "matchStrings": [
"required_version = \"?= (?<currentValue>.*?)\"?\\s", "required_version = \"?([=><\\s]+)?(?<currentValue>[^\"]+)\"?",
"tofu_version: \"?(?<currentValue>.*?)\"?\\s" "tofu_version: \"?(?<currentValue>.*?)\"?\\s"
], ],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",