From 65f8651252d6235daf67d43592f84334a1178523 Mon Sep 17 00:00:00 2001 From: sksat Date: Wed, 27 Nov 2024 21:27:40 +0900 Subject: [PATCH] Renovate generic cargo install in shell script --- renovate.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/renovate.json b/renovate.json index 61e6bf96c..8a37ccdbc 100644 --- a/renovate.json +++ b/renovate.json @@ -12,6 +12,14 @@ "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?\\s.*?_VERSION:\\s(?.*)\\s", ], "versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}" + }, + { + "fileMatch": [".*\.sh"], + "matchStrings": [ + "cargo install\\s*(--\\S*\\s*)*(\\s*--root\\s\\S*\\s*)?(?\\S*?)\\s*(--\\S*\\s*)*(--version\\s*(?\\S*))\\s", + ], + "datasourceTemplate": "crate", + "versioningTemplate": "cargo" } ] }