Created
March 14, 2024 12:16
-
-
Save Roxedus/46a3f2791a75285c241f0c27b3d45e64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | |
// "extends": [ | |
// "config:base" | |
// ] | |
"enabledManagers": [ | |
"custom.regex" | |
], | |
"packageRules": [ | |
{ | |
"matchDatasources": [ | |
"github-tags" | |
], | |
"matchPackageNames": [ | |
"bitwarden/clients" | |
], | |
"versionCompatibility": "^(?<compatibility>cli-v)(?<version>.*)$" | |
} | |
], | |
"customManagers": [ | |
{ | |
"customType": "regex", | |
"description": [ | |
"Process calver versions from Containerfiles" | |
], | |
"fileMatch": [ | |
".+Containerfile$" | |
], | |
"matchStrings": [ | |
// # renovate: datasource=github-tags depName=bitwarden/clients type=calver | |
// BW_RELEASE=cli-v2024.2.0 | |
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( type=calver)?\\n.+=(?<currentValue>\\S+)" | |
], | |
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment