Skip to content

Commit

Permalink
Fix issues with helm chart release process (flyteorg#5560)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Parraga <[email protected]>
Signed-off-by: Vladyslav Libov <[email protected]>
  • Loading branch information
Sovietaced authored and VladyslavLibov committed Aug 16, 2024
1 parent fdb71c5 commit 5501d51
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions script/prepare_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5501d51

Please sign in to comment.