From 3f05eeecb1f5160d4d6280401f6822dde69bb0bf Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 30 Jan 2022 14:35:16 +0100 Subject: [PATCH] fix(ci): add regexManager for helm version --- Makefile | 2 +- install.sh | 2 +- renovate.json | 15 ++++++++++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b92e32a..0528d2d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # HELM_VERSION # Only required to install a specifiy version -HELM_VERSION?=3.8.0 +HELM_VERSION?=v3.8.0 # CONTAINER_RUNTIME # The CONTAINER_RUNTIME variable will be used to specified the path to a diff --git a/install.sh b/install.sh index de38160..c4b9e64 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ case `uname -m` in esac apk add --update --no-cache wget git -wget ${BASE_URL}/helm-v${VERSION}-linux-${ARCH}.tar.gz -O - | tar -xz +wget ${BASE_URL}/helm-${VERSION}-linux-${ARCH}.tar.gz -O - | tar -xz mv linux-${ARCH}/helm /usr/bin/helm chmod +x /usr/bin/helm rm -rf linux-${ARCH} \ No newline at end of file diff --git a/renovate.json b/renovate.json index b89fb23..b2028de 100644 --- a/renovate.json +++ b/renovate.json @@ -4,5 +4,18 @@ "automergeStrategy": "merge-commit", "automergeType": "pr", "rebaseLabel": "renovate/rebase", - "rebaseWhen": "behind-base-branch" + "rebaseWhen": "behind-base-branch", + "regexManagers": [ + { + "fileMatch": [ + "^Makefile$" + ], + "matchStrings": [ + "HELM_VERSION?=(?.*)" + ], + "datasourceTemplate": "github-releases", + "depNameTemplate": "helm/helm", + "versioningTemplate": "semver" + } + ] }