Skip to content

Commit 6eebe11

Browse files
committed
ci(renovate): configure regex versioning for PHP and XDebug
1 parent b6e437b commit 6eebe11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

renovate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
"depNameTemplate": "xdebug",
1919
"lookupNameTemplate": "xdebug/xdebug",
2020
"datasourceTemplate": "github-tags",
21-
"versioningTemplate": "loose"
21+
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<prerelease>\\w+)?$"
2222
},
2323
{
2424
"fileMatch": ["^.github/workflows/.+\\.ya?ml$"],
2525
"matchStrings": ["php: '(?<currentValue>[^']+)'.*# renovate:keep-up-to-date"],
2626
"depNameTemplate": "php",
2727
"lookupNameTemplate": "php/php-src",
2828
"datasourceTemplate": "github-tags",
29-
"versioningTemplate": "loose"
29+
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<prerelease>\\w+)?$"
3030
},
3131
{
3232
"fileMatch": ["^.github/workflows/.+\\.ya?ml$"],

0 commit comments

Comments
 (0)