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