Skip to content

Commit

Permalink
fix(ci): merge helm with older index
Browse files Browse the repository at this point in the history
Closes apache#5575

(cherry picked from commit apache/camel-k@2ba12225e)
  • Loading branch information
squakez authored and github-actions[bot] committed Jun 6, 2024
1 parent 1e45ca6 commit 7b249ac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions script/release_helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ set -e

location=$(dirname $0)
rootdir=$(realpath $location/..)
targetdir=$rootdir/docs/charts
version=$1
targetdir=$rootdir/docs/charts/$version
helm_index=$rootdir/docs/charts/index.yaml

mkdir -p $targetdir

cd $rootdir/helm

helm package ./camel-k --version $version
mv camel-k-*.tgz $targetdir/
helm repo index $targetdir --url https://apache.github.io/camel-k/charts/
helm repo index $targetdir --url https://apache.github.io/camel-k/charts/ --merge $helm_index
# Required to prevent https://github.com/helm/helm/issues/7363
mv $targetdir/* $targetdir/../.
rm -rf $targetdir

0 comments on commit 7b249ac

Please sign in to comment.