Skip to content

Commit

Permalink
update regex to extract versions from lines with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Hansard committed Nov 7, 2024
1 parent b2517a4 commit f7e38de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"customType": "regex",
"fileMatch": ["(^|/)main\\.tf$"],
"matchStrings": [
"chart *=.*\"(?<depName>.*?)\"\\)\\s*chart_version *=.*\"(?<currentValue>.*?)\"\\)\\s*repository *=.*\"(?<registryUrl>https.*?)\"\\)"
"chart *=.*\"(?<depName>.*?)\"\\).*\\s+chart_version *=.*\"(?<currentValue>.*?)\"\\).*\\s+repository *=.*\"(?<registryUrl>https.*?)\"\\)"
],
"datasourceTemplate": "helm"
},
{
"customType": "regex",
"fileMatch": ["(^|/)main\\.tf$"],
"matchStrings": [
"chart *=.*\"(?<depName>.*?)\"\\)\\s*chart_version *=.*\"(?<currentValue>.*?)\"\\)\\s*repository *=.*\"oci://(?<namespace>.*?)\"\\)"
"chart *=.*\"(?<depName>.*?)\"\\).*\\s+chart_version *=.*\"(?<currentValue>.*?)\"\\).*\\s+repository *=.*\"oci://(?<namespace>.*?)\"\\)"
],
"datasourceTemplate": "docker",
"packageNameTemplate": "{{namespace}}/{{depName}}"
Expand Down

0 comments on commit f7e38de

Please sign in to comment.