Skip to content

Commit

Permalink
Fix initial version of next releases such as v1.29.0+k3s1
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gberche-orange committed Jan 19, 2024
1 parent a518db7 commit aa4748a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create-release-branches.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa4748a

Please sign in to comment.