Skip to content

Commit

Permalink
Merge pull request #44 from UCL-ARC/cdkharris/31-custom-version-defs-…
Browse files Browse the repository at this point in the history
…for-renovate

fix: Catch terraform files
  • Loading branch information
cdkharris authored Oct 23, 2024
2 parents acc2da6 + f5d44ef commit 4e4413f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
customManagers: [
{
"customType": "regex",
"fileMatch": ["^.*\\.y.?ml$"],
"fileMatch": ["^.*\\.y.?ml$|^.*\\.tf$"],
"matchStrings": [
'#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*.*?_version:\\s*(?<currentValue>.*)\\s*'
'#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*.*?_version:\\s*(?<currentValue>.*)\\s*',
'#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s*.*?_version\\s*=\\s*\\"(?<currentValue>.*)\\"'
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
Expand Down

0 comments on commit 4e4413f

Please sign in to comment.