diff --git a/.renovate/mise.json5 b/.renovate/mise.json5 index e6342b84..acf01e5f 100644 --- a/.renovate/mise.json5 +++ b/.renovate/mise.json5 @@ -10,23 +10,12 @@ } ], "customManagers": [ - { - "customType": "regex", - "description": "Process aqua and ubi packages in mise.toml", - "fileMatch": [".mise.toml", "mise.toml"], - "matchStrings": [ - "\"?(?:aqua:|ubi:)?(?[\\w\\-\\/]+)\"? = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" - ], - "datasourceTemplate": "github-releases", - "versioningTemplate": "semver", - "extractVersionTemplate": "^v?(?.*)$" - }, { "customType": "regex", "description": "Process Go packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "\"go:(?[\\w\\-\\/\\.]+)\" = \\[?\"(?[\\d\\.]+)\"" + "\"go:(?[\\w\\-\\/\\.]+)\" = \\[?\"(?[\\d\\.]+)\"" ], "datasourceTemplate": "go", "versioningTemplate": "semver" @@ -36,7 +25,7 @@ "description": "Process cargo packages in mise.toml", "fileMatch": [".mise.toml", "mise.toml"], "matchStrings": [ - "\"cargo:(?[\\w\\-\\/]+)\" = \\[?\"(?[\\d\\.]+)\"" + "\"cargo:(?[\\w\\-\\/]+)\" = \\[?\"(?[\\d\\.]+)\"" ], "datasourceTemplate": "crate", "versioningTemplate": "cargo" @@ -56,10 +45,22 @@ "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" + }, + { + "customType": "regex", + "description": "Process aqua and ubi packages in mise.toml", + "fileMatch": [".mise.toml", "mise.toml"], + "matchStrings": [ + "(?:^\"aqua:|^\"ubi:|^[^[:punct:]])+(?[\\w\\-\\/]+)\"? = \\[?\"(?[\\d\\.]+|latest|v[\\d\\.]+)\"" + ], + "datasourceTemplate": "github-releases", + "versioningTemplate": "semver", + "packageNameTemplate": "{{#if (lookup (split depName '/') 1)}}{{depName}}/{{/if}}{{depName}}", + "extractVersionTemplate": "^v?(?.*)$" } ] }