From aa4748a89faa3a9ff5dcaf2b9b207b8f3a8a3a66 Mon Sep 17 00:00:00 2001 From: Guillaume Berche Date: Fri, 19 Jan 2024 16:31:25 +0100 Subject: [PATCH] Fix initial version of next releases such as v1.29.0+k3s1 if we just set 1.9.0 then renovate will not pick up 1.9.0+k3s1 and will wait until 1.9.1+k3s1 --- create-release-branches.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/create-release-branches.bash b/create-release-branches.bash index 1c5e35ea..2277c67a 100755 --- a/create-release-branches.bash +++ b/create-release-branches.bash @@ -37,7 +37,8 @@ for ref in $(listK3sReleases) ; do git branch -d "$BRANCH_NAME" fi git checkout -b "$BRANCH_NAME" - sed -i.orig "s/tag: v.*/tag: v${v}.0/g" vendir.yml + INITIAL_VERSION="v${v}.0+k3s1" # if we just set 1.9.0 then renovate will not pick up 1.9.0+k3s1 and will wait until 1.9.1+k3s1 + sed -i.orig "s/tag: v.*/tag: ${INITIAL_VERSION}/g" vendir.yml diff vendir.yml vendir.yml.orig rm vendir.yml.orig git add vendir.yml