diff --git a/scripts/publish.sh b/scripts/publish.sh index 016b59f8..025ba5d9 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -16,15 +16,15 @@ do if [ $(helm dep list $dir 2>/dev/null| wc -l) -gt 1 ] then + echo "Processing chart dependencies" + helm --debug dep build $dir # Bug with Helm subcharts with hyphen on them # https://github.com/argoproj/argo-helm/pull/270#issuecomment-608695684 if [ "$name" == "argo-cd" ] then echo "Restore ArgoCD RedisHA subchart" - git checkout $dir + tar -C $dir/charts -xf $dir/charts/redis-ha-*.tgz fi - echo "Processing chart dependencies" - helm --debug dep build $dir fi echo "Processing $dir"