From 971f1e81f48e53a0cb9ea70072361d204db2b4e0 Mon Sep 17 00:00:00 2001 From: Jakob van Santen Date: Thu, 7 Nov 2024 13:24:01 +0100 Subject: [PATCH] renovate: bump python version in unit config --- renovate.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/renovate.json b/renovate.json index 6e14ef5..429853a 100644 --- a/renovate.json +++ b/renovate.json @@ -11,6 +11,18 @@ "matchStrings": [ "# renovate: datasource=(?[a-z-]+?) depName=(?[^\\s]+?)(?: packageName=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" ] + }, + { + "customType": "regex", + "description": "Update Python version in Unit config", + "fileMatch": [".*"], + "matchStrings": [ + "\"type\":\\s*\"python (?(?\\d+)\\.(?\\d+))\"" + ], + "currentValueTemplate": "{{{major}}}.{{{minor}}}", + "datasourceTemplate": "python-version", + "versioningTemplate": "python", + "depNameTemplate": "python" } ] }