fix(renovate/mise): optional spaces, ubi version syntax

This commit is contained in:
JJGadgets
2025-05-10 05:46:22 +08:00
parent 21236522bb
commit cddaf2dbb2
2 changed files with 8 additions and 7 deletions

View File

@@ -88,6 +88,7 @@
},
{
"matchFileNames": [".mise.toml", "mise.toml"],
"matchUpdateTypes": ["major", "minor", "patch", "digest", "rollback", "bump"],
"semanticCommitType": "chore",
"semanticCommitScope": "mise/{{#if groupName}}{{groupName}}{{else}}{{depName}}{{/if}}"
}

View File

@@ -28,7 +28,7 @@
"description": "Process Go packages in mise.toml",
"fileMatch": [".mise.toml", "mise.toml"],
"matchStrings": [
"\"go:(?<packageName>[\\w\\-\\/\\.]+)\" = \\[?\"(?<currentValue>[\\d\\.]+)\""
"\"go:(?<packageName>[\\w\\-\\/\\.]+)\" *= *\\[?\"(?<currentValue>[\\d\\.]+)\""
],
"datasourceTemplate": "go",
"versioningTemplate": "semver"
@@ -38,7 +38,7 @@
"description": "Process cargo packages in mise.toml",
"fileMatch": [".mise.toml", "mise.toml"],
"matchStrings": [
"\"cargo:(?<packageName>[\\w\\-\\/]+)\" = \\[?\"(?<currentValue>[\\d\\.]+)\""
"\"cargo:(?<packageName>[\\w\\-\\/]+)\" *= *\\[?\"(?<currentValue>[\\d\\.]+)\""
],
"datasourceTemplate": "crate",
"versioningTemplate": "cargo"
@@ -48,7 +48,7 @@
"description": "Process npm packages in mise.toml",
"fileMatch": [".mise.toml", "mise.toml"],
"matchStrings": [
"\"npm:(?<packageName>@?[\\w\\-\\/]+)\" = \\[?\"(?<currentValue>[\\d\\.]+)\""
"\"npm:(?<packageName>@?[\\w\\-\\/]+)\" *= *\\[?\"(?<currentValue>[\\d\\.]+)\""
],
"datasourceTemplate": "npm",
"versioningTemplate": "semver"
@@ -58,7 +58,7 @@
"description": "Process pipx packages in mise.toml",
"fileMatch": [".mise.toml", "mise.toml"],
"matchStrings": [
"\"pipx:(?<packageName>[\\w\\-\\.]+)\" = \\[?\"(?<currentValue>[\\d\\.]+|latest)\""
"\"pipx:(?<packageName>[\\w\\-\\.]+)\" *= *\\[?\"(?<currentValue>[\\d\\.]+|latest)\""
],
"datasourceTemplate": "pypi",
"versioningTemplate": "pep440"
@@ -68,7 +68,7 @@
"description": "Process default packages in mise.toml",
"fileMatch": [".mise.toml", "mise.toml"],
"matchStrings": [
"^(?<packageName>[\\w\\-\\/]+) = \\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\""
"^(?<packageName>[\\w\\-\\/]+) *= *\\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\""
],
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver",
@@ -79,8 +79,8 @@
"description": "Process aqua and ubi packages in mise.toml",
"fileMatch": [".mise.toml", "mise.toml"],
"matchStrings": [
"\"aqua:(?<packageName>[\\w\\-\\/]+)\" = \\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\"",
"\"ubi:(?<packageName>[\\w\\-]+\\/[\\w\\-]+)\" = \\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\""
"\"aqua:(?<packageName>[\\w\\-\\/]+)\" *= *\\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\"",
"\"ubi:(?<packageName>[\\w\\-]+\\/[\\w\\-]+)\" *= *(?:{ *version *= *)?\\[?\"(?<currentValue>[\\d\\.]+|latest|v[\\d\\.]+)\""
],
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver",