diff --git a/scripts/chart_releaser.sh b/scripts/chart_releaser.sh index 2579e0007..804dae88a 100755 --- a/scripts/chart_releaser.sh +++ b/scripts/chart_releaser.sh @@ -105,3 +105,12 @@ grep -iE "^version" ../charts/testkube/Chart.yaml git add -A git commit -m "Tag: $VERSION_FULL; $target_folder CI/CD. Bumped helm chart, app and docker image tag versions." git push --set-upstream https://kubeshop-bot:$GH_TOKEN@github.com/kubeshop/helm-charts main + +# Update Chart.yaml file in develop branch +git fetch origin develop +git checkout develop +git checkout main -- ../charts/testkube/Chart.yaml ../charts/$target_folder/Chart.yaml +git add ../charts/testkube/Chart.yaml ../charts/$target_folder/Chart.yaml +git commit -m "Update Chart.yaml files" +git push --set-upstream https://kubeshop-bot:$GH_PUSH_TOKEN@github.com/kubeshop/helm-charts develop +