0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-21 23:10:40 +00:00

add regex parser for .drone.env files

This commit is contained in:
Robert Kaussow 2021-10-24 15:58:29 +02:00
parent 39f7283c1a
commit 41c85a9919
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -36,6 +36,12 @@
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION (:|\\?)= (?<currentValue>.*)\\s"
]
},
{
"fileMatch": [".drone.env"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nexport .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
]
}
],
"ignorePaths": ["**/.drone.*"]