From 19017e50a641885c3c7a24734c5b674e8a94a4c3 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 2 May 2024 08:47:36 +0200 Subject: [PATCH] fix(renovate): add pkgver --- PKGBUILD | 2 +- renovate.json | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 67f6d44..7f6a19a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=prometheus-bind-exporter _pkgname=bind_exporter -pkgver=0.6.1 +pkgver=0.6.1 # renovate: datasource=github-releases depName=prometheus-community/bind_exporter pkgrel=1 pkgdesc='Prometheus exporter for BIND metrics' arch=('x86_64') diff --git a/renovate.json b/renovate.json index 918e9c7..e9c2fb2 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,17 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "assignees": [ "volker.raschek" ], + "customManagers": [ + { + "description": "Update PKGBUILD version", + "fileMatch": [ + "^PKGBUILD$" + ], + "matchStrings": [ + "pkgver=(?.*) # renovate: datasource=(?.*) depName=(?.*)( lookupName=(?.*))?( versioning=(?.*))?" + ] + } + ], "labels": [ "renovate" ], "packageRules": [ {