From 9895d6de431be75e4edf1192b3f88704651c4bf6 Mon Sep 17 00:00:00 2001 From: bakito Date: Fri, 27 Sep 2024 18:39:43 +0200 Subject: [PATCH] update makefile dependencies --- Makefile | 6 ++++++ renovate.json | 15 ++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e528828..90a5ba28 100644 --- a/Makefile +++ b/Makefile @@ -50,11 +50,17 @@ OAPI_CODEGEN ?= $(LOCALBIN)/oapi-codegen SEMVER ?= $(LOCALBIN)/semver ## Tool Versions +# renovate: packageName=k8s.io/code-generator/cmd/deepcopy-gen DEEPCOPY_GEN_VERSION ?= v0.31.1 +# renovate: packageName=github.com/golangci/golangci-lint/cmd/golangci-lint GOLANGCI_LINT_VERSION ?= v1.61.0 +# renovate: packageName=github.com/goreleaser/goreleaser/v2 GORELEASER_VERSION ?= v2.3.2 +# renovate: packageName=go.uber.org/mock/mockgen MOCKGEN_VERSION ?= v0.4.0 +# renovate: packageName=github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen OAPI_CODEGEN_VERSION ?= v2.4.0 +# renovate: packageName=github.com/bakito/semver SEMVER_VERSION ?= v1.1.3 ## Tool Installer diff --git a/renovate.json b/renovate.json index 02ae0557..a2e11c20 100644 --- a/renovate.json +++ b/renovate.json @@ -1,4 +1,17 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "dependencyDashboard": true + "dependencyDashboard": true, + "customManagers": [ + { + "customType": "regex", + "description": "Update toolbox _VERSION variables in Makefile", + "fileMatch": [ + "^Makefile$" + ], + "matchStrings": [ + "# renovate: packageName=(?.+?)\\s+.+?_VERSION \\?= (?.+?)\\s" + ], + "datasourceTemplate": "go" + } + ] }