postfixadmin-docker/renovate.json
Markus Pesch 278bb991bf
Some checks reported errors
continuous-integration/drone/push Build was killed
fix(ci): package rule to trim leading info from git version
2022-04-15 10:59:39 +02:00

40 lines
1.2 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"description": "Trim leading postfixadmin- from git tag",
"addLabels": [ "renovate/postfixadmin" ],
"automerge": false,
"extractVersion": "^postfixadmin-(?<version>\\d+\\.\\d+\\.\\d+)$",
"matchPackageNames": [ "postfixadmin" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update postfixadmin git tag",
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"POSTFIXADMIN_VERSION\\?=(?<currentValue>.*?)\n"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "postfixadmin/postfixadmin",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(\\s*)?$"
}
]
}