From bc851dd3c53bbde4261adbebf41ee2fa1c01fe9f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 7 May 2024 18:00:10 +0200 Subject: [PATCH] fix(renovate): extend configuration --- PKGBUILD | 2 +- renovate.json | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 5c5bd5d..67f89f2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=prometheus-x509-certificate-exporter _pkgname=x509-certificate-exporter -pkgver=3.13.0 +pkgver=3.13.0 # renovate: datasource=github-releases depName=enix/x509-certificate-exporter pkgrel=1 pkgdesc="metric exporter for x509 certificates" arch=('armv7h' 'aarch64' 'x86_64') diff --git a/renovate.json b/renovate.json index 918e9c7..865bbbf 100644 --- a/renovate.json +++ b/renovate.json @@ -11,5 +11,15 @@ } ], "rebaseLabel": "renovate/rebase", - "rebaseWhen": "behind-base-branch" + "rebaseWhen": "behind-base-branch", + "regexManagers": [ + { + "description": "Update PKGBUILD version", + "fileMatch": [ "(^|/)PKGBUILD$" ], + "matchStrings": [ + "pkgver=(?.*) # renovate: datasource=(?.*) depName=(?.*)( lookupName=(?.*))?( versioning=(?.*))?" + ], + "extractVersionTemplate": "^v?(?.*)$" + } + ] }