diff --git a/renovate.json b/renovate.json index 10c71a18..77fbb47c 100644 --- a/renovate.json +++ b/renovate.json @@ -9,22 +9,8 @@ "customType": "regex", "fileMatch": ["^scripts/VERSIONS$"], "matchStrings": [ - "# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( extractVersion=(?.+?))?( registryUrl=(?.*?))?\\s.*?_VERSION=(?.*)\\s" - ], - "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", - "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?.+)${{/if}}" - }, - { - "customType": "regex", - "fileMatch": ["^scripts/VERSIONS$"], - "matchStrings": [ - "OPENSSL_VERSION=(?.*)\\s" - ], - "datasourceTemplate": "github-tags", - "depNameTemplate": "openssl/openssl", - "versioningTemplate": "semver", - "extractVersionTemplate": "^openssl-(?\\d+)\\.(?\\d+)\\.(?\\d+)$", - "registryUrlTemplate": "https://github.com" + "# renovate: datasource=(?.*?) depName=(?.*?)\\s.*?_VERSION=(?.*)\\s" + ] } ], "packageRules": [ @@ -34,6 +20,11 @@ "https://github.com/actions/upload-artifact" ], "groupName": "GitHub Actions: artifact" + }, + { + "matchManagers": ["regex"], + "matchPackageNames": ["openssl/openssl"], + "extractVersion": "^openssl-(?.*)$" } ] } diff --git a/scripts/VERSIONS b/scripts/VERSIONS index 72b1eb9f..dd79a8b5 100644 --- a/scripts/VERSIONS +++ b/scripts/VERSIONS @@ -1,7 +1,7 @@ #!/bin/bash -# Handled by renovate.json +# renovate: datasource=github-tags depName=openssl/openssl OPENSSL_VERSION=3.2.0 -# renovate: datasource=github-tags depName=nghttp2/nghttp2 versioning=semver registryUrl=https://github.com +# renovate: datasource=github-tags depName=nghttp2/nghttp2 NGHTTP2_VERSION=1.63.0