diff --git a/renovate.json b/renovate.json index 857f7c21..6ee8e258 100644 --- a/renovate.json +++ b/renovate.json @@ -27,6 +27,24 @@ ], "datasourceTemplate": "docker", "depNameTemplate": "renovate/renovate" + }, + { + "customType": "regex", + "datasourceTemplate": "github-releases", + "depNameTemplate": "jqlang/jq", + "extractVersionTemplate": "^jq-(?.*)$", + "fileMatch": [ + "\\.?aqua\\.ya?ml" + ], + "matchStrings": [ + " +(?:version|'version'|\"version\") *: +jq-(?[^'\" \\n]+) +# renovate: depName=jqlang/jq[ \\n]", + " +(?:version|'version'|\"version\") *: +'jq-(?[^'\" \\n]+)' +# renovate: depName=jqlang/jq[ \\n]", + " +(?:version|'version'|\"version\") *: +\"jq-(?[^'\" \\n]+)\" +# renovate: depName=jqlang/jq[ \\n]", + " +(?:name|'name'|\"name\") *: +jqlang/jq@jq-(?[^'\" \\n]+)", + " +(?:name|'name'|\"name\") *: +'jqlang/jq@jq-(?[^'\" \\n]+)'", + " +(?:name|'name'|\"name\") *: +\"jqlang/jq@jq-(?[^'\" \\n]+)\"" + ], + "versioningTemplate": "regex:^(?\\d+)\\.(?\\d+)?$" } ] }