From e343cdee310e5ac2fa87db82fdfb1de53bd7b2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Martins?= Date: Wed, 3 Jul 2024 17:39:23 +0200 Subject: [PATCH] xxx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Martins --- .github/renovate.json5 | 14 +++----------- images/builder/install-protoplugins.sh | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 38a385487a920b..8cfd414549af81 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -574,17 +574,9 @@ "matchDepNames": [ "grpc/grpc-go" ], - "versioning": "regex:cmd/protoc-gen-go-grpc/v(?\\d+)\\.(?\\d+)\\.(?\\d+)", - "extractVersion": "^google\\.golang\\.org/grpc/cmd/protoc-gen-go-grpc@cmd/protoc-gen-go-grpc/v(?.*)$", - "packageRules": [ - { - "matchDatasources": ["github-releases"], - "matchPackageNames": ["grpc/grpc-go"], - "registryUrls": ["https://github.com/grpc/grpc-go"], - "extractVersion": "^cmd/protoc-gen-go-grpc/v(?.*)$", - "replaceStringTemplate": "go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@{{{newDigest}}}" - } - ] + "versioning": "semver", + "versionCompatibility": "^(?.*)(v?.*)$", + "extractVersion": "^cmd/protoc-gen-go-grpc/(v?.*)$" } ], "kubernetes": { diff --git a/images/builder/install-protoplugins.sh b/images/builder/install-protoplugins.sh index 031d55c0aba06d..65f06894bb2525 100755 --- a/images/builder/install-protoplugins.sh +++ b/images/builder/install-protoplugins.sh @@ -8,7 +8,7 @@ set -o errexit set -o pipefail set -o nounset -# renovate: datasource=github-releases depName=grpc/grpc-go +# renovate: datasource=github-tags depName=grpc/grpc-go go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0 # renovate: datasource=github-releases depName=protocolbuffers/protobuf-go go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0