From 78c4295b7410eb7467aa474bc88f6006af56bc26 Mon Sep 17 00:00:00 2001 From: florianvazelle Date: Fri, 5 Apr 2024 09:07:57 +0200 Subject: [PATCH] chore: fix renovate config for git-refs --- .github/renovate.json | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 2ac8048..5762821 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,32 +1,31 @@ { - "regexManagers": [ + "customManagers": [ { + "customType": "regex", "fileMatch": ["^plug\\.gd$"], "matchStrings": [ - "\\s+plug\\(\"(?.*?)\",\\ \\{\\s*\"commit\":\\ \"(?.*)\",\\s*\"renovate-branch\":\\ \"(?.*)\"" + "\\s+plug\\(\\s*\"(?.*)\",\\s+{\\s*\"commit\":\\s*\"(?.*)\",\\s*\"renovate-branch\":\\s*\"(?.*)\"" ], - "depNameTemplate": "{{{gitUrl}}}", - "packageNameTemplate": "https://github.com/{{{gitUrl}}}", + "packageNameTemplate": "https://github.com/{{{depName}}}.git", "versioningTemplate": "git", "datasourceTemplate": "git-refs" }, { + "customType": "regex", "fileMatch": ["^plug\\.gd$"], "matchStrings": [ - "\\s+plug\\(\"(?.*?)\",\\ \\{\\s*\"tag\":\\ \"(?.*)\"" + "\\s+plug\\(\"(?.*?)\",\\ \\{\\s*\"tag\":\\ \"(?.*)\"" ], - "depNameTemplate": "{{{gitUrl}}}", - "packageNameTemplate": "https://github.com/{{{gitUrl}}}", + "packageNameTemplate": "https://github.com/{{{depName}}}.git", "versioningTemplate": "git", "datasourceTemplate": "git-tags" }, { + "customType": "regex", "fileMatch": ["^.env$"], - "matchStrings": [ - "GODOT_VERSION=(?.*?)\\n" - ], + "matchStrings": ["GODOT_VERSION=(?.*?)\\n"], "depNameTemplate": "godotengine/godot", - "packageNameTemplate": "https://github.com/godotengine/godot", + "packageNameTemplate": "https://github.com/godotengine/godot.git", "versioningTemplate": "loose", "extractVersionTemplate": "^(?.*)$", "datasourceTemplate": "git-tags"