From 5501d513b934ed0b191ca7f28c92a01e72111a12 Mon Sep 17 00:00:00 2001 From: Jason Parraga Date: Tue, 16 Jul 2024 11:28:22 -0700 Subject: [PATCH] Fix issues with helm chart release process (#5560) Signed-off-by: Jason Parraga Signed-off-by: Vladyslav Libov --- script/prepare_artifacts.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/script/prepare_artifacts.sh b/script/prepare_artifacts.sh index 3893da8527..32cf1e769a 100644 --- a/script/prepare_artifacts.sh +++ b/script/prepare_artifacts.sh @@ -21,12 +21,16 @@ grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-core/Chart.yaml | xargs -0 sed sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-core/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-deps/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" -sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-deps/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md +sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-deps/README.md > temp.txt && mv temp.txt ./charts/flyte-deps/README.md grep -rlZ "version:[^P]*# VERSION" ./charts/flyte-binary/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" -sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-binary/README.md > temp.txt && mv temp.txt ./charts/flyte-core/README.md +sed "s/v0.1.10/${VERSION}/g" ./charts/flyte-binary/README.md > temp.txt && mv temp.txt ./charts/flyte-binary/README.md + +grep -rlZ "version:[^P]*# VERSION" ./charts/flyteagent/Chart.yaml | xargs -0 sed -i "s/version:[^P]*# VERSION/version: ${VERSION} # VERSION/g" +sed "s/v0.1.10/${VERSION}/g" ./charts/flyteagent/README.md > temp.txt && mv temp.txt ./charts/flyteagent/README.md helm dep update ./charts/flyte +helm dep update ./charts/flyte-core helm dep update ./charts/flyte-deps # bump latest release of flyte component in helm