Skip to content

Commit 203e2cf

Browse files
committed
ci: fix detection of version variables in pkl
1 parent 2e9bcc1 commit 203e2cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/renovate.json5

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
{
66
description: "Version variables in pkl files",
77
customType: "regex",
8-
managerFilePatterns: ["Shared.pkl", "*.pkl"],
8+
managerFilePatterns: ["**/*.pkl"],
99
matchStrings: [
10-
'// renovate:\\sdatasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\
11-
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*"?(?<currentValue>.*?)"?',
10+
'.*renovate:\\s*datasource=(?<datasource>.*?)\\s*depName=(?<depName>.*?)\n.*(?:local\\s+)?(?<varName>\\w+)_version\\s*=\\s*"?(?<currentValue>[^"\n]+)"?',
1211
],
1312
extractVersionTemplate: "^v?(?<version>.*)$",
1413
},

0 commit comments

Comments
 (0)