Skip to content
Snippets Groups Projects
Unverified Commit add8c5ea authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

feat(presets/workarounds): add `k3s-io/k3s` versioning (#30957)

parent bb1acb8a
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@ export const presets: Record<string, Preset> = {
'workarounds:disableMavenParentRoot',
'workarounds:containerbase',
'workarounds:bitnamiDockerImageVersioning',
'workarounds:k3sKubernetesVersioning',
],
ignoreDeps: [], // Hack to improve onboarding PR description
},
......@@ -168,6 +169,17 @@ export const presets: Record<string, Preset> = {
},
],
},
k3sKubernetesVersioning: {
description: 'Use custom regex versioning for k3s-io/k3s',
packageRules: [
{
matchDatasources: ['github-releases'],
matchPackageNames: ['k3s-io/k3s'],
versioning:
'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?:-(?<prerelease>[a-z]+\\d+))?(?<compatibility>\\+k3s)(?<build>\\d+)$',
},
],
},
mavenCommonsAncientVersion: {
description: 'Fix some problems with very old Maven commons versions.',
packageRules: [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment