1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00

chore(renovate): update shell script regex for docker image detection

- modify regex pattern in custom manager to optionally match lines starting with '# renovate' comment
- improve pattern to handle newlines before variable assignment for better compatibility
This commit is contained in:
pooneyy 2026-02-06 11:00:09 +08:00
parent 5c2361485f
commit d79ff3ffb4
No known key found for this signature in database

View File

@ -316,7 +316,7 @@
"managerFilePatterns": ["/(^|/).+\\.sh$/"],
"matchStrings": [
// : https://regexr.com/8jlns
"([\\S]+=)(?<depName>[\\S]+):(?<currentValue>[\\S]+)"
"(?:# renovate)(?:\\n+)?([\\S]+=)(?<depName>[\\S]+):(?<currentValue>[\\S]+)"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}docker{{/if}}"
}