From cddaf2dbb2c653113d15d233270dd3a648301425 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Sat, 10 May 2025 05:46:22 +0800 Subject: [PATCH] fix(renovate/mise): optional spaces, ubi version syntax --- .renovate/commitMessage.json5 | 1 + .renovate/mise.json5 | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.renovate/commitMessage.json5 b/.renovate/commitMessage.json5 index 778dc0f8..51624ef8 100644 --- a/.renovate/commitMessage.json5 +++ b/.renovate/commitMessage.json5 @@ -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}}" } diff --git a/.renovate/mise.json5 b/.renovate/mise.json5 index b42df76c..02a0303a 100644 --- a/.renovate/mise.json5 +++ b/.renovate/mise.json5 @@ -28,7 +28,7 @@ "description": "Process Go packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "\"go:(?[\\w\\-\\/\\.]+)\" = \\[?\"(?[\\d\\.]+)\"" + "\"go:(?[\\w\\-\\/\\.]+)\" *= *\\[?\"(?[\\d\\.]+)\"" ], "datasourceTemplate": "go", "versioningTemplate": "semver" @@ -38,7 +38,7 @@ "description": "Process cargo packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "\"cargo:(?[\\w\\-\\/]+)\" = \\[?\"(?[\\d\\.]+)\"" + "\"cargo:(?[\\w\\-\\/]+)\" *= *\\[?\"(?[\\d\\.]+)\"" ], "datasourceTemplate": "crate", "versioningTemplate": "cargo" @@ -48,7 +48,7 @@ "description": "Process npm packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "\"npm:(?@?[\\w\\-\\/]+)\" = \\[?\"(?[\\d\\.]+)\"" + "\"npm:(?@?[\\w\\-\\/]+)\" *= *\\[?\"(?[\\d\\.]+)\"" ], "datasourceTemplate": "npm", "versioningTemplate": "semver" @@ -58,7 +58,7 @@ "description": "Process pipx packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "\"pipx:(?[\\w\\-\\.]+)\" = \\[?\"(?[\\d\\.]+|latest)\"" + "\"pipx:(?[\\w\\-\\.]+)\" *= *\\[?\"(?[\\d\\.]+|latest)\"" ], "datasourceTemplate": "pypi", "versioningTemplate": "pep440" @@ -68,7 +68,7 @@ "description": "Process default packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "^(?[\\w\\-\\/]+) = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" + "^(?[\\w\\-\\/]+) *= *\\[?\"(?[\\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:(?[\\w\\-\\/]+)\" = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"", - "\"ubi:(?[\\w\\-]+\\/[\\w\\-]+)\" = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" + "\"aqua:(?[\\w\\-\\/]+)\" *= *\\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"", + "\"ubi:(?[\\w\\-]+\\/[\\w\\-]+)\" *= *(?:{ *version *= *)?\\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" ], "datasourceTemplate": "github-releases", "versioningTemplate": "semver",